Mailinglist Archive: opensuse-factory (506 mails)

< Previous Next >
Re: [opensuse-factory] vim/gvim session and KDE
  • From: Günter Dannoritzer <dannoritzer@xxxxxx>
  • Date: Thu, 14 Dec 2006 21:19:13 +0100
  • Message-id: <4581B1C1.3070206@xxxxxx>
Juergen Weigert wrote:
> On Dec 14, 06 14:06:39 +0100, dannoritzer wrote:
>> Now I know there is a way to do this by hand, saving the current session
>> in gvim with :mksession <sessionname> and then later restore that
>> session with :source <sessionname>. However, I know from a friend who
>> uses mandrake, that there the session restores automatically under kde.
>
> You say Mandrake has this feature. Can we see how they compiled gvim?

I found the spec file from the current vim build:

http://cvs.mandriva.com/cgi-bin/viewvc.cgi/SPECS/vim/vim.spec?view=markup

For the gui this seems to be the options they use:

%if %buildgui
# First build: gvim
LOCALEDIR=%localedir CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=%_prefix \
--enable-pythoninterp \
--enable-perlinterp \
--enable-rubyinterp \
--enable-tclinterp \
--with-features=huge \
--enable-acl --with-x=yes --enable-gui=gnome2 --exec-prefix=%_prefix/X11R6 \
--enable-gtk2-check \
--enable-multibyte --enable-xim --enable-fontset --mandir=%_mandir \
--libdir=%_libdir --with-compiledby="%packager"

echo "#define MAX_FEAT 1" >> src/config.h
echo "#define FEAT_GUI" >> src/config.h
# workaround buggy build system:
perl -pi -e 's!/usr/include long!/usr/include !' src/auto/config.mk

make
mv src/vim src/gvim
make -C src clean
%endif


Does that help?

I will see whether I can get the :version output from a Mandrake gvim
this worked on.

Cheers,

Guenter

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups