summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-09-28 19:11:34 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-09-28 19:11:34 +0000
commita76f3ecc795346b7b1a3a7894f8de765307eb882 (patch)
treef6b6e2fde7583265960e741c89e76b2f3c44c2d7 /eclass/vim.eclass
parentmask app-vim/vim-spell-en (diff)
downloadgentoo-2-a76f3ecc795346b7b1a3a7894f8de765307eb882.tar.gz
gentoo-2-a76f3ecc795346b7b1a3a7894f8de765307eb882.tar.bz2
gentoo-2-a76f3ecc795346b7b1a3a7894f8de765307eb882.zip
make the post install messages purdier
Diffstat (limited to 'eclass/vim.eclass')
-rw-r--r--eclass/vim.eclass26
1 files changed, 18 insertions, 8 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass
index c3c2882030ab..c51c8a05081f 100644
--- a/eclass/vim.eclass
+++ b/eclass/vim.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.121 2005/09/22 19:45:30 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.122 2005/09/28 19:11:34 ciaranm Exp $
# Authors:
# Ryan Phillips <rphillips@gentoo.org>
@@ -657,9 +657,9 @@ vim_pkg_postinst() {
fdo-mime_mime_database_update
fi
- einfo
if [[ $(get_major_version ) -lt 7 ]] ; then
if [[ "${MY_PN}" == "gvim" ]] ; then
+ echo
einfo "To enable UTF-8 viewing, set guifont and guifontwide: "
einfo ":set guifont=-misc-fixed-medium-r-normal-*-18-120-100-100-c-90-iso10646-1"
einfo ":set guifontwide=-misc-fixed-medium-r-normal-*-18-120-100-100-c-180-iso10646-1"
@@ -670,6 +670,7 @@ vim_pkg_postinst() {
einfo "Then, set read encoding to UTF-8:"
einfo ":set encoding=utf-8"
elif [[ "${MY_PN}" == "vim" ]] ; then
+ echo
einfo "gvim has now a seperate ebuild, 'emerge gvim' will install gvim"
fi
else
@@ -679,15 +680,23 @@ vim_pkg_postinst() {
# explaining them.
elif [[ "${MY_PN}" == "vim" ]] ; then
echo
- # TODO: once we have the GUIs working, display a message explaining
- # them.
+ einfo "To install a GUI version of vim, use the app-editors/gvim"
+ einfo "package."
fi
+ echo
+ einfo "Vim 7 includes an integrated spell checker. You need to install"
+ einfo "word list files before you can use it. There are ebuilds for"
+ einfo "some of these named app-vim/vim-spell-*. If your language of"
+ einfo "choice is not included, please consult vim-spell.eclass for"
+ einfo "instructions on how to make a package."
+ ewarn
+ ewarn "Note that the English word lists are no longer installed by"
+ ewarn "default."
fi
- einfo
if [[ "${MY_PN}" != "vim-core" ]] ; then
+ echo
einfo "To see what's new in this release, use :help version${VIM_VERSION/.*/}.txt"
- einfo
fi
# Warn about VIMRUNTIME
@@ -697,17 +706,18 @@ vim_pkg_postinst() {
ewarn "installation. You will need to either unset VIMRUNTIME in each"
ewarn "terminal, or log out completely and back in. This problem won't"
ewarn "happen again since the ebuild no longer sets VIMRUNTIME."
- ewarn
fi
# Scream loudly if the user is using a -cvs ebuild
if [[ -z "${PN/*-cvs/}" ]] ; then
+ ewarn
ewarn "You are using a -cvs ebuild. Be warned that this is not"
ewarn "officially supported and may not work."
- ewarn " "
ebeep 5
fi
+ echo
+
if version_is_at_least 6.3.1 ; then
bash-completion_pkg_postinst
fi