Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18919 - gvim does not work with USE="+gtk", gvim ebuild does not support motif
Summary: gvim does not work with USE="+gtk", gvim ebuild does not support motif
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-07 15:00 UTC by Georgios E. Kylafas
Modified: 2003-04-23 17:07 UTC (History)
0 users

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


Attachments
add motif support to gvim ebuild (gvim-6.1-r8.ebuild.diff,790 bytes, patch)
2003-04-07 15:02 UTC, Georgios E. Kylafas
Details | Diff
add motif support to vim eclass (vim.eclass.diff,401 bytes, patch)
2003-04-07 15:04 UTC, Georgios E. Kylafas
Details | Diff
Output of USE="+gtk" emerge -B gvim (emergegvim.log,38.12 KB, text/plain)
2003-04-10 14:45 UTC, Georgios E. Kylafas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgios E. Kylafas 2003-04-07 15:00:39 UTC
Two issues I would like to mention about gvim: 
 
1. gvim does not work for me when configured to use gtk. Whenever I run gvim, I get 
the same results as when invoking plain vim, i.e. vim starts in console mode 
 
2. vim has support for the motif widget set, but the gvim ebuild does not offer this. 
However, I managed to get gvim to compile and run properly with the motif gui, by 
modifying the vim.eclass and the gvim-6.1-r8.ebuild (I will attach the patches to this 
report soon). 
After applying, I used: 
USE="-gtk" emerge gvim 
and everything worked fine. 

Reproducible: Always
Steps to Reproduce:
 



Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.4.20-gentoo-r2 i686 AMD Athlon(tm) Processor 
GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg 
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang 
readline arts svga java X sdl tcpd pam libwww ssl python imlib oggvorbis gtk qt kde 
motif opengl -alsa cdr dga doc dvd fbcon -gnome -gpm imap maildir mysql perl samba 
scanner sse tcltk tetex tiff wmf" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage/" 
FEATURES="sandbox buildpkg ccache userpriv usersandbox"
Comment 1 Georgios E. Kylafas 2003-04-07 15:02:49 UTC
Created attachment 10337 [details, diff]
add motif support to gvim ebuild
Comment 2 Georgios E. Kylafas 2003-04-07 15:04:07 UTC
Created attachment 10338 [details, diff]
add motif support to vim eclass
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-04-08 16:32:13 UTC
Thanks, good idea to enable the motif interface.  I'll get that change in ASAP.  However I'd also like to know why gtk didn't work for you.  I've not heard of that happening previously.  Would you mind running "USE=gtk emerge gvim" and attaching the entire output?  Thanks.
Comment 4 Georgios E. Kylafas 2003-04-10 14:45:13 UTC
Created attachment 10472 [details]
Output of USE="+gtk" emerge -B gvim

I attach the whole output as you requested.
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2003-04-23 17:07:42 UTC
Georgios,

I don't know why the gtk version isn't working for you.  I haven't heard of this problem elsewhere.  My best guess is that something is broken in your gtk installation or configuration, maybe a theme issue?  Anyway, if you figure it out, that would be helpful.  The build output looks fine.

I've committed 6.2a (presently ~ masked) which includes motif support.  I will unmask it soon.

Aron