[SCM] Vim packaging branch, debian, updated. upstream/7.2.130-284-ga97ec6d

James Vega jamessan at debian.org
Thu Mar 5 16:52:33 UTC 2009


The following commit has been merged in the debian branch:
commit a97ec6db95ce42dfd051cb01ad44216eb882b72c
Author: James Vega <jamessan at debian.org>
Date:   Thu Mar 5 10:30:51 2009 -0500

    Remove transitional vim-{full,perl,python,ruby,tcl} packages
    
    Signed-off-by: James Vega <jamessan at debian.org>

diff --git a/debian/control b/debian/control
index edbec5a..7e50e35 100644
--- a/debian/control
+++ b/debian/control
@@ -135,38 +135,6 @@ Description: Vi IMproved - enhanced vi editor (debugging symbols)
  .
  This package contains gdb debugging symbols for the vim packages.
 
-Package: vim-perl
-Priority: extra
-Architecture: all
-Depends: vim-gtk (>= 1:7.1-135+1)
-Description: Vi IMproved - enhanced vi editor (transitional package)
- This package is simply a transitional package from individual
- vim-$language packages to vim-gtk.
-
-Package: vim-python
-Priority: extra
-Architecture: all
-Depends: vim-gtk (>= 1:7.1-135+1)
-Description: Vi IMproved - enhanced vi editor (transitional package)
- This package is simply a transitional package from individual
- vim-$language packages to vim-gtk.
-
-Package: vim-ruby
-Priority: extra
-Architecture: all
-Depends: vim-gtk (>= 1:7.1-135+1)
-Description: Vi IMproved - enhanced vi editor (transitional package)
- This package is simply a transitional package from individual
- vim-$language packages to vim-gtk.
-
-Package: vim-tcl
-Priority: extra
-Architecture: all
-Depends: vim-gtk (>= 1:7.1-135+1)
-Description: Vi IMproved - enhanced vi editor (transitional package)
- This package is simply a transitional package from individual
- vim-$language packages to vim-gtk.
-
 Package: vim-gtk
 Priority: extra
 Architecture: any
@@ -230,10 +198,3 @@ Description: Vi IMproved - enhanced vi editor - with GNOME2 GUI
  .
  This package contains a version of vim compiled with a GNOME2 GUI
  and support for scripting with Perl, Python, Ruby, and Tcl.
-
-Package: vim-full
-Priority: extra
-Architecture: all
-Depends: vim-gnome (>= 1:7.1-135+1)
-Description: Vi IMproved - enhanced vi editor (transitional package)
- This package is simply a transitional package from vim-full to vim-gnome.
diff --git a/debian/rules b/debian/rules
index de64152..e750e12 100755
--- a/debian/rules
+++ b/debian/rules
@@ -223,7 +223,7 @@ clean-%:
 build: build-stamp-arch
 
 build-indep: build-stamp-indep
-build-stamp-indep: export DH_OPTIONS=-pvim-doc -pvim-python -pvim-perl -pvim-ruby -pvim-tcl -pvim-full
+build-stamp-indep: export DH_OPTIONS=-pvim-doc
 build-stamp-indep:
 	dh_testdir
 	dh_clean -k
@@ -257,7 +257,7 @@ build-stamp-%: configure-stamp-%
 
 install: $(foreach v,$(VARIANTS),install-stamp-$(v))
 
-install-stamp-indep: export DH_OPTIONS=-pvim-doc -pvim-python -pvim-perl -pvim-ruby -pvim-tcl -pvim-full
+install-stamp-indep: export DH_OPTIONS=-pvim-doc
 install-stamp-indep: build-stamp-indep
 	dh_testdir
 	dh_testroot
diff --git a/debian/vim-full.preinst b/debian/vim-full.preinst
deleted file mode 100644
index 3fc96b2..0000000
--- a/debian/vim-full.preinst
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh -e
-
-pkg=vim-full
-variant=full
-
-# check_and_remove_alternative cleans up stale alternatives that were left
-# behind from previous mishandling of alternatives.
-check_and_remove_alternative () {
-  if update-alternatives --list $1 | grep -q 'bin/vim$'; then
-    for f in `update-alternatives --list $1 | grep 'bin/vim$'`; do
-      update-alternatives --remove $1 $f
-    done
-  fi
-}
-
-remove_gnome_alternative () {
-  if [ -f /usr/bin/vim.$variant ]; then
-    check_and_remove_alternative gnome-text-editor
-    update-alternatives --remove gnome-text-editor /usr/bin/vim.$variant
-  fi
-}
-
-remove_variant_alternative () {
-  for i in vi view ex editor rvim rview vimdiff vim; do
-    check_and_remove_alternative $i
-    if update-alternatives --list $i | grep -q bin/vim.$variant; then
-      update-alternatives --remove $i /usr/bin/vim.$variant
-    fi
-  done
-  remove_gui_variant_alternative
-}
-
-remove_gui_variant_alternative () {
-  for i in eview evim gview gvimdiff rgview rgvim gvim; do
-    check_and_remove_alternative $i
-    if update-alternatives --list $i | grep -q bin/vim.$variant; then
-      update-alternatives --remove $i /usr/bin/vim.$variant
-    fi
-  done
-}
-
-remove_gnome_alternative
-remove_variant_alternative
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/vim-perl.preinst b/debian/vim-perl.preinst
deleted file mode 100644
index d880e17..0000000
--- a/debian/vim-perl.preinst
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh -e
-
-pkg=vim-perl
-variant=perl
-
-# check_and_remove_alternative cleans up stale alternatives that were left
-# behind from previous mishandling of alternatives.
-check_and_remove_alternative () {
-  if update-alternatives --list $1 | grep -q bin/vim; then
-    for f in `update-alternatives --list $1 | grep 'bin/vim$'`; do
-      update-alternatives --remove $1 $f
-    done
-  fi
-}
-
-remove_variant_alternative () {
-  for i in vi view ex editor rvim rview vimdiff vim; do
-    check_and_remove_alternative $i
-    if update-alternatives --list $i | grep -q bin/vim.$variant; then
-      update-alternatives --remove $i /usr/bin/vim.$variant
-    fi
-  done
-  remove_gui_variant_alternative
-}
-
-remove_gui_variant_alternative () {
-  for i in eview evim gview gvimdiff rgview rgvim gvim; do
-    check_and_remove_alternative $i
-    if update-alternatives --list $i | grep -q bin/vim.$variant; then
-      update-alternatives --remove $i /usr/bin/vim.$variant
-    fi
-  done
-}
-
-remove_variant_alternative
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/vim-python.preinst b/debian/vim-python.preinst
deleted file mode 100644
index 7600815..0000000
--- a/debian/vim-python.preinst
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh -e
-
-pkg=vim-python
-variant=python
-
-# check_and_remove_alternative cleans up stale alternatives that were left
-# behind from previous mishandling of alternatives.
-check_and_remove_alternative () {
-  if update-alternatives --list $1 | grep -q bin/vim; then
-    for f in `update-alternatives --list $1 | grep 'bin/vim$'`; do
-      update-alternatives --remove $1 $f
-    done
-  fi
-}
-
-remove_variant_alternative () {
-  for i in vi view ex editor rvim rview vimdiff vim; do
-    check_and_remove_alternative $i
-    if update-alternatives --list $i | grep -q bin/vim.$variant; then
-      update-alternatives --remove $i /usr/bin/vim.$variant
-    fi
-  done
-  remove_gui_variant_alternative
-}
-
-remove_gui_variant_alternative () {
-  for i in eview evim gview gvimdiff rgview rgvim gvim; do
-    check_and_remove_alternative $i
-    if update-alternatives --list $i | grep -q bin/vim.$variant; then
-      update-alternatives --remove $i /usr/bin/vim.$variant
-    fi
-  done
-}
-
-remove_variant_alternative
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/vim-ruby.preinst b/debian/vim-ruby.preinst
deleted file mode 100644
index 88442ec..0000000
--- a/debian/vim-ruby.preinst
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh -e
-
-pkg=vim-ruby
-variant=ruby
-
-# check_and_remove_alternative cleans up stale alternatives that were left
-# behind from previous mishandling of alternatives.
-check_and_remove_alternative () {
-  if update-alternatives --list $1 | grep -q bin/vim; then
-    for f in `update-alternatives --list $1 | grep 'bin/vim$'`; do
-      update-alternatives --remove $1 $f
-    done
-  fi
-}
-
-remove_variant_alternative () {
-  for i in vi view ex editor rvim rview vimdiff vim; do
-    check_and_remove_alternative $i
-    if update-alternatives --list $i | grep -q bin/vim.$variant; then
-      update-alternatives --remove $i /usr/bin/vim.$variant
-    fi
-  done
-  remove_gui_variant_alternative
-}
-
-remove_gui_variant_alternative () {
-  for i in eview evim gview gvimdiff rgview rgvim gvim; do
-    check_and_remove_alternative $i
-    if update-alternatives --list $i | grep -q bin/vim.$variant; then
-      update-alternatives --remove $i /usr/bin/vim.$variant
-    fi
-  done
-}
-
-remove_variant_alternative
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/vim-tcl.preinst b/debian/vim-tcl.preinst
deleted file mode 100644
index b5524fb..0000000
--- a/debian/vim-tcl.preinst
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh -e
-
-pkg=vim-tcl
-variant=tcl
-
-# check_and_remove_alternative cleans up stale alternatives that were left
-# behind from previous mishandling of alternatives.
-check_and_remove_alternative () {
-  if update-alternatives --list $1 | grep -q bin/vim; then
-    for f in `update-alternatives --list $1 | grep 'bin/vim$'`; do
-      update-alternatives --remove $1 $f
-    done
-  fi
-}
-
-remove_variant_alternative () {
-  for i in vi view ex editor rvim rview vimdiff vim; do
-    check_and_remove_alternative $i
-    if update-alternatives --list $i | grep -q bin/vim.$variant; then
-      update-alternatives --remove $i /usr/bin/vim.$variant
-    fi
-  done
-  remove_gui_variant_alternative
-}
-
-remove_gui_variant_alternative () {
-  for i in eview evim gview gvimdiff rgview rgvim gvim; do
-    check_and_remove_alternative $i
-    if update-alternatives --list $i | grep -q bin/vim.$variant; then
-      update-alternatives --remove $i /usr/bin/vim.$variant
-    fi
-  done
-}
-
-remove_variant_alternative
-
-#DEBHELPER#
-
-exit 0

-- 
Vim packaging



More information about the pkg-vim-maintainers mailing list