Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33257 - vimpart doesn't work with gvim/kvim ebuilds
Summary: vimpart doesn't work with gvim/kvim ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker
Assignee: Gentoo KDE team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-11 14:42 UTC by harvalen
Modified: 2004-01-08 14:30 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
files/kdeaddons-3.2.0_beta1-kvim.diff (kdeaddons-3.2.0_beta1-kvim.diff,363 bytes, patch)
2003-12-07 20:42 UTC, Aron Griffis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description harvalen 2003-11-11 14:42:19 UTC
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"
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2003-11-11 14:57:55 UTC
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...
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-11-15 07:58:12 UTC
harvalen, what kde package contains the vimpart sources?
Comment 3 harvalen 2003-11-15 08:12:41 UTC
They're in kdeaddons, 3.2 branch
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2003-12-07 20:42:10 UTC
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"
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2003-12-07 20:43:59 UTC
The patch is written; assign to kde maintainers to apply...
Comment 6 Richard Lärkäng 2003-12-15 10:26:34 UTC
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
Comment 7 Aron Griffis (RETIRED) gentoo-dev 2003-12-15 12:48:31 UTC
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)
Comment 8 Aron Griffis (RETIRED) gentoo-dev 2004-01-08 14:30:08 UTC
I went ahead and applied the patch to 3.2.0_beta2