diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2003-01-14 18:50:13 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2003-01-14 18:50:13 +0000 |
commit | f610a60172b8c677b09e97e5bd7024a5a3392d4e (patch) | |
tree | ae8f4aa02461c96098a39e88d3d537fa9677b022 /app-editors/gvim | |
parent | masked. patches 1-289 (diff) | |
download | gentoo-2-f610a60172b8c677b09e97e5bd7024a5a3392d4e.tar.gz gentoo-2-f610a60172b8c677b09e97e5bd7024a5a3392d4e.tar.bz2 gentoo-2-f610a60172b8c677b09e97e5bd7024a5a3392d4e.zip |
masked. patches 1-289
Diffstat (limited to 'app-editors/gvim')
-rw-r--r-- | app-editors/gvim/ChangeLog | 7 | ||||
-rw-r--r-- | app-editors/gvim/files/digest-gvim-6.1-r5 | 2 | ||||
-rw-r--r-- | app-editors/gvim/gvim-6.1-r5.ebuild | 97 |
3 files changed, 105 insertions, 1 deletions
diff --git a/app-editors/gvim/ChangeLog b/app-editors/gvim/ChangeLog index 4c56d74071fc..2f2eca82e168 100644 --- a/app-editors/gvim/ChangeLog +++ b/app-editors/gvim/ChangeLog @@ -1,9 +1,14 @@ # ChangeLog for app-editors/gvim # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/ChangeLog,v 1.12 2003/01/14 17:37:05 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/ChangeLog,v 1.13 2003/01/14 18:50:13 rphillips Exp $ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords +*gvim-6.1-r5.ebuild (14 Jan 2003) + + 14 Jan 2003; Ryan Phillips <rphillips@gentoo.org> gvim-6.1-r5.ebuild : + Patches 1-289 + *gvim-6.1-r4.ebuild (06 Dec 2002) 14 Jan 2003; Ryan Phillips <rphillips@gentoo.org> gvim-6.1-r4.ebuild : diff --git a/app-editors/gvim/files/digest-gvim-6.1-r5 b/app-editors/gvim/files/digest-gvim-6.1-r5 new file mode 100644 index 000000000000..bb1466cc2090 --- /dev/null +++ b/app-editors/gvim/files/digest-gvim-6.1-r5 @@ -0,0 +1,2 @@ +MD5 7fd0f915adc7c0dab89772884268b030 vim-6.1.tar.bz2 2890049 +MD5 ce7f14e0f526220c85da6262661658e3 vimpatch-1-289.tar.bz2 216360 diff --git a/app-editors/gvim/gvim-6.1-r5.ebuild b/app-editors/gvim/gvim-6.1-r5.ebuild new file mode 100644 index 000000000000..899aff6873ed --- /dev/null +++ b/app-editors/gvim/gvim-6.1-r5.ebuild @@ -0,0 +1,97 @@ +# Copyright 2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-6.1-r5.ebuild,v 1.1 2003/01/14 18:50:13 rphillips Exp $ + +VIMPATCH="vimpatch-1-289.tar.bz2" +inherit vim + +DESCRIPTION="graphical vim" +KEYWORDS="~x86 ~alpha" +DEPEND="dev-util/cscope + >=sys-libs/ncurses-5.2-r2 + sys-libs/libtermcap-compat + app-editors/vim-core + x11-base/xfree + gpm? ( >=sys-libs/gpm-1.19.3 ) + gnome? ( gnome-base/gnome-libs ) + gtk? ( =x11-libs/gtk+-1.2* ) + perl? ( sys-devel/perl ) + python? ( dev-lang/python ) + ruby? ( >=dev-lang/ruby-1.6.4 )" +# tcltk? ( dev-lang/tcl )" +# It appears that the tclinterp stuff in Vim is broken right now (at +# least on Linux... it works on BSD). When you --enable-tclinterp +# flag, then the following command never returns: +# +# VIMINIT='let OS = system("uname -s")' vim +# +# Please don't re-enable the tclinterp flag without verifying first +# that the above works. Thanks. (08 Sep 2001 agriffis) + +src_compile() { + #default myconf options added by ZhEN on 11/20/02 for unicode support + local myconf="--with-features=big --enable-multibyte" + use nls && myconf="--enable-multibyte" || myconf="--disable-nls" + use perl && myconf="$myconf --enable-perlinterp" + use python && myconf="$myconf --enable-pythoninterp" + use ruby && myconf="$myconf --enable-rubyinterp" + +# tclinterp is BROKEN. See note above DEPEND= +# use tcltk && myconf="$myconf --enable-tclinterp" + +# Added back gpm for temporary will remove if necessary, I think that I have +# fixed most of gpm so it should be fine. + use gpm || myconf="$myconf --disable-gpm" + + if use gnome; then + guiconf="--enable-gui=gnome --with-x" + elif use gtk; then + guiconf="--enable-gui=gtk --with-x" + else + guiconf="--enable-gui=athena --with-x" + fi + + # This should fix a sandbox violation. + addwrite /dev/pty/* + addpredict /dev/pty/ + + if [ -n "$guiconf" ]; then + ./configure \ + --prefix=/usr --mandir=/usr/share/man --host=$CHOST \ + --with-features=huge --enable-cscope $myconf $guiconf \ + --with-vim-name=gvim || die "gvim configure failed" + + # move config files to /etc/vim/ + echo "#define SYS_VIMRC_FILE \"/etc/vim/vimrc\"" \ + >>${WORKDIR}/vim61/src/feature.h + echo "#define SYS_GVIMRC_FILE \"/etc/vim/gvimrc\"" \ + >>${WORKDIR}/vim61/src/feature.h + + # Parallel make does not work + make || die "gvim make failed" + fi +} + +src_install() { + dobin src/gvim + ln -s gvim ${D}/usr/bin/gvimdiff + # Default gvimrc + insinto /etc/vim/ + doins ${FILESDIR}/gvimrc +} + +#added by ZhEN 11/20/02 for unicode +pkg_postinst() { + einfo + 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" + einfo + +} |