summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Kelly <pioto@gentoo.org>2007-03-21 03:40:22 +0000
committerMike Kelly <pioto@gentoo.org>2007-03-21 03:40:22 +0000
commitedff6f08719eac6f91c2c9ad7e6a5bf2cb7ab78f (patch)
treee1d4191fdafb9a223d12a1bbc50b0357118ca0e2 /eclass
parentadding beryl-0.2.1 to the tree (diff)
downloadhistorical-edff6f08719eac6f91c2c9ad7e6a5bf2cb7ab78f.tar.gz
historical-edff6f08719eac6f91c2c9ad7e6a5bf2cb7ab78f.tar.bz2
historical-edff6f08719eac6f91c2c9ad7e6a5bf2cb7ab78f.zip
Use elog instead of einfo in the appropriate places.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vim-plugin.eclass38
-rw-r--r--eclass/vim-spell.eclass16
-rw-r--r--eclass/vim.eclass38
3 files changed, 46 insertions, 46 deletions
diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass
index 1470bba392e4..3ba8595303be 100644
--- a/eclass/vim-plugin.eclass
+++ b/eclass/vim-plugin.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-plugin.eclass,v 1.19 2007/01/12 05:18:24 pioto Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim-plugin.eclass,v 1.20 2007/03/21 03:40:22 pioto Exp $
#
# This eclass simplifies installation of app-vim plugins into
# /usr/share/vim/vimfiles. This is a version-independent directory
@@ -109,35 +109,35 @@ display_vim_plugin_help() {
local h
if [[ -n "${VIM_PLUGIN_HELPFILES}" ]] ; then
- einfo " "
- einfo "This plugin provides documentation via vim's help system. To"
- einfo "view it, use:"
+ elog " "
+ elog "This plugin provides documentation via vim's help system. To"
+ elog "view it, use:"
for h in ${VIM_PLUGIN_HELPFILES} ; do
- einfo " :help ${h}"
+ elog " :help ${h}"
done
- einfo " "
+ elog " "
elif [[ -n "${VIM_PLUGIN_HELPTEXT}" ]] ; then
- einfo " "
+ elog " "
while read h ; do
- einfo "$h"
+ elog "$h"
done <<<"${VIM_PLUGIN_HELPTEXT}"
- einfo " "
+ elog " "
elif [[ -n "${VIM_PLUGIN_HELPURI}" ]] ; then
- einfo " "
- einfo "Documentation for this plugin is available online at:"
- einfo " ${VIM_PLUGIN_HELPURI}"
- einfo " "
+ elog " "
+ elog "Documentation for this plugin is available online at:"
+ elog " ${VIM_PLUGIN_HELPURI}"
+ elog " "
fi
if hasq "filetype" "${VIM_PLUGIN_MESSAGES}" ; then
- einfo "This plugin makes use of filetype settings. To enable these,"
- einfo "add lines like:"
- einfo " filetype plugin on"
- einfo " filetype indent on"
- einfo "to your ~/.vimrc file."
- einfo " "
+ elog "This plugin makes use of filetype settings. To enable these,"
+ elog "add lines like:"
+ elog " filetype plugin on"
+ elog " filetype indent on"
+ elog "to your ~/.vimrc file."
+ elog " "
fi
}
diff --git a/eclass/vim-spell.eclass b/eclass/vim-spell.eclass
index 045c6ab859b6..0b4d1724e3b1 100644
--- a/eclass/vim-spell.eclass
+++ b/eclass/vim-spell.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim-spell.eclass,v 1.5 2006/01/23 21:35:21 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim-spell.eclass,v 1.6 2007/03/21 03:40:22 pioto Exp $
#
# Original Author: Ciaran McCreesh <ciaranm@gentoo.org>
@@ -99,20 +99,20 @@ vim-spell_src_install() {
vim-spell_pkg_postinst() {
target="/usr/share/vim/vimfiles/spell/"
echo
- einfo "To enable ${VIM_SPELL_LANGUAGE} spell checking, use"
- einfo " :setlocal spell spelllang=${VIM_SPELL_CODE}"
+ elog "To enable ${VIM_SPELL_LANGUAGE} spell checking, use"
+ elog " :setlocal spell spelllang=${VIM_SPELL_CODE}"
echo
- einfo "The following (Vim internal, not file) encodings are supported for"
- einfo "this language:"
+ elog "The following (Vim internal, not file) encodings are supported for"
+ elog "this language:"
for f in "${ROOT}/${target}/${VIM_SPELL_CODE}".*.spl ; do
enc="${f##*/${VIM_SPELL_CODE}.}"
enc="${enc%.spl}"
[[ -z "${enc}" ]] && continue
- einfo " ${enc}"
+ elog " ${enc}"
done
echo
- einfo "For further documentation, use:"
- einfo " :help spell"
+ elog "For further documentation, use:"
+ elog " :help spell"
echo
epause
}
diff --git a/eclass/vim.eclass b/eclass/vim.eclass
index b51784a6f219..342b8f6d4965 100644
--- a/eclass/vim.eclass
+++ b/eclass/vim.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.161 2007/03/13 01:07:08 pioto Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.162 2007/03/21 03:40:22 pioto Exp $
# Authors:
# Ryan Phillips <rphillips@gentoo.org>
@@ -675,31 +675,31 @@ vim_pkg_postinst() {
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"
- einfo
- einfo "note: to find out which fonts you can use, please read the UTF-8 help:"
- einfo ":h utf-8"
- einfo
- einfo "Then, set read encoding to UTF-8:"
- einfo ":set encoding=utf-8"
+ elog "To enable UTF-8 viewing, set guifont and guifontwide: "
+ elog ":set guifont=-misc-fixed-medium-r-normal-*-18-120-100-100-c-90-iso10646-1"
+ elog ":set guifontwide=-misc-fixed-medium-r-normal-*-18-120-100-100-c-180-iso10646-1"
+ elog
+ elog "note: to find out which fonts you can use, please read the UTF-8 help:"
+ elog ":h utf-8"
+ elog
+ elog "Then, set read encoding to UTF-8:"
+ elog ":set encoding=utf-8"
elif [[ "${MY_PN}" == "vim" ]] ; then
echo
- einfo "gvim has now a seperate ebuild, 'emerge gvim' will install gvim"
+ elog "gvim has now a seperate ebuild, 'emerge gvim' will install gvim"
fi
else
if [[ "${MY_PN}" == "vim" ]] ; then
echo
- einfo "To install a GUI version of vim, use the app-editors/gvim"
- einfo "package."
+ elog "To install a GUI version of vim, use the app-editors/gvim"
+ elog "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."
+ elog "Vim 7 includes an integrated spell checker. You need to install"
+ elog "word list files before you can use it. There are ebuilds for"
+ elog "some of these named app-vim/vim-spell-*. If your language of"
+ elog "choice is not included, please consult vim-spell.eclass for"
+ elog "instructions on how to make a package."
ewarn
ewarn "Note that the English word lists are no longer installed by"
ewarn "default."
@@ -707,7 +707,7 @@ vim_pkg_postinst() {
if [[ "${MY_PN}" != "vim-core" ]] ; then
echo
- einfo "To see what's new in this release, use :help version${VIM_VERSION/.*/}.txt"
+ elog "To see what's new in this release, use :help version${VIM_VERSION/.*/}.txt"
fi
# Warn about VIMRUNTIME