The vimpart (in my case kde 3.2 beta1) doesn't work with the gvim/kvim ebuilds (/usr/bin/(gvim|kvim)), the vimpart says that eval isn't enabled. With /usr/bin/vim eval works but says it needs gvim or kvim. This made me suspect the problem is in those ebuilds so I changed vim.eclass to make the vim ebuild compile with gui support and that worked. That made me realize that one of the thing the gvim and kvim ebuilds has in common is the --with-vim-name and after changing vim.eclass to make the gvim ebuild run without that option the resulting /usr/bin/vim worked. Reproducible: Always Steps to Reproduce: 1. 2. 3. Not sure if this is needed, but anyway: Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test9-mm1) ============================================================= ==== System uname: 2.6.0-test9-mm1 i686 AMD Athlon(TM) XP 2200+ Gentoo Base System version 1.4.3.10p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -Os -pipe -fforce-addr -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/kde/3. 2/share/config /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs ccache distcc" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio. org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex aalib svga ggi tcltk java ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla ldap cdr pic 3dnow mmx 3ds acl apache2 cscope dedicated dga doc dvd fbcon imap jikes junit maildir mbox nvidia objc odbcpdflib openal qtmt S3TC samba sse tiff usb v4l wmf xml xvid -gnome"
The naming of vim/gvim/kvim is intentional. We're not going to install a graphical vim as /usr/bin/vim, so vimpart needs to be fixed to use kvim. Ciaran, Ryan, do either of you use kde? I don't...
harvalen, what kde package contains the vimpart sources?
They're in kdeaddons, 3.2 branch
Created attachment 21844 [details, diff] files/kdeaddons-3.2.0_beta1-kvim.diff KDE maintainers, here is a patch against kdeaddons-3.2.0_beta1 which solves the problem. The same patch would probably apply just fine against beta2 but I was unable to obtain the sources. This patch can be applied by adding the following lines to the end of kdeaddons-3.2.0_beta1.ebuild: # Make vimpart use /usr/bin/kvim -- fixes bug 33257 PATCHES="$FILESDIR/${P}-kvim.diff"
The patch is written; assign to kde maintainers to apply...
I don't know much about the issues with this, but maybe this could be interesting: http://lists.kde.org/?l=kde-cvs&m=107150914703262&w=2
Richard, that looks like it might be helpful eventually, but for the moment we just need the Gentoo KDE maintainers to apply the patch which I supplied... (nudge nudge)
I went ahead and applied the patch to 3.2.0_beta2