Re: Vim + MzScheme on Ubuntu

2007-02-14 Thread Bram Moolenaar

> Hi Bram Moolenaar, you wrote:
> 
> > I think the best method is to obtain all the files from subversion and
> > then get the latest runtime files with rsync.  Get spell files manually
> > (this can be done automatically if you use a language for the first
> > time).
> 
> I tried to use the command given on the vim.sf.net site to update Windows 
> runtime files:
> 
> rsync -avzcP --delete ftp.nluug.nl::Vim/runtime/dos/ .
> 
> It seems to work fine, but the result directory doesn't have spell directory 
> at all. Is it bug or feature?

Hmm, that --delete should probably not be there.  Without it we leave
renamed files behind, but that's less of a problem than deleting all the
spell files.

-- 
hundred-and-one symptoms of being an internet addict:
118. You are on a first-name basis with your ISP's staff.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\download, build and distribute -- http://www.A-A-P.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///


Re: Vim + MzScheme on Ubuntu

2007-02-14 Thread A.J.Mechelynck

Alexei Alexandrov wrote:

Hi Bram Moolenaar, you wrote:


I think the best method is to obtain all the files from subversion and
then get the latest runtime files with rsync.  Get spell files manually
(this can be done automatically if you use a language for the first
time).



I tried to use the command given on the vim.sf.net site to update Windows 
runtime files:

rsync -avzcP --delete ftp.nluug.nl::Vim/runtime/dos/ .

It seems to work fine, but the result directory doesn't have spell directory at 
all. Is it bug or feature?



As Bram said earlier, the runtime/dos directory on the ftp site doesn't 
contain any spell files. With --delete, it will delete in the target directory 
tree whatever it doesn't find in the source tree.


If you download the full sources (unix+lang+extra) to some directory (let's 
say %HOME%\build\vim) creating there a tree starting at vim70, you can then 
maintain the runtime files (including the spell files) as follows (in Cygwin 
bash) (untested):


  cd $HOME/build/vim/vim70
  rsync -avzcP --delete --exclude="\dos\" ftp.nluug.nl::Vim/runtime ./runtime
  cd src
  export CONF_ARGS='--with-global-runtime=/cygdrive/c/PROGRA~1/vim'
  make config
  make installruntime

You will get runtime files with Unix ends-of-lines, but Vim-for-Windows can 
cope with that (provided that 'fileformats' includes "unix", which is the 
default), and so does WordPad. Notepad can't swallow them but I guess you can 
live with that.



Best regards,
Tony.
--
Show respect for age.  Drink good Scotch for a change.


Re: Vim + MzScheme on Ubuntu

2007-02-14 Thread Alexei Alexandrov
Hi Bram Moolenaar, you wrote:

> 
> I think the best method is to obtain all the files from subversion and
> then get the latest runtime files with rsync.  Get spell files manually
> (this can be done automatically if you use a language for the first
> time).
> 

I tried to use the command given on the vim.sf.net site to update Windows 
runtime files:

rsync -avzcP --delete ftp.nluug.nl::Vim/runtime/dos/ .

It seems to work fine, but the result directory doesn't have spell directory at 
all. Is it bug or feature?

-- 
Alexei Alexandrov


Re: Vim + MzScheme on Ubuntu

2007-02-11 Thread Bram Moolenaar

George V. Reilly wrote:

> Bram, 'make install' fails because there are no *.vim files in 
> runtime/spell.
> I'm using the latest stuff out of Subversion *except* for the runtime files,
> which are fetched with Tony's rsync invocation:
>   rsync -avzcP --delete --exclude="/dos/" ftp.nluug.nl::Vim/runtime/ 
> ./runtime/
> I hacked around this by 'cp /dev/null runtime/spell/zzz.vim'
> 
> Remind me again why the runtime files are so badly out of date in 
> Subversion.
> Kdiff3 says that there are over 600 file-level differences between the
> svn runtime and the nluug runtime.

The Subversion repository contains Vim 7.0 plus all the patches.  For
the runtime files I don't make patches, they would be huge.  There is an
exception for important things or changes related to source code
changes, these are included in patches.  This may cause a few conflicts,
these can be ignored.

The runtime files can be obtained from the ftp site.  However, the spell
files are in a different directory.  It's a separate place, beccause the
files are huge and you probably only want to get the few you need.  They
are not updated often anyway.

I think the best method is to obtain all the files from subversion and
then get the latest runtime files with rsync.  Get spell files manually
(this can be done automatically if you use a language for the first
time).

-- 
hundred-and-one symptoms of being an internet addict:
103. When you find yourself in the "Computer" section of Barnes & Noble
 enjoying yourself.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\download, build and distribute -- http://www.A-A-P.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///


Re: Vim + MzScheme on Ubuntu

2007-02-11 Thread George V. Reilly

[Moving this to vim-dev]

Taylor Venable wrote:

On Wed, 07 Feb 2007 00:08:29 -0800
"George V. Reilly" <[EMAIL PROTECTED]> wrote:

  
I tried to build Vim with MzScheme support on Ubuntu a few months ago 
and couldn't figure out what I needed to do to get MzScheme included

in Vim. I got everything all the other supported languages working.

Can you summarize what you did?



This took a little playing around with, because the configure script
thinks that you've got all your PLT stuff installed in the same place,
which on Ubuntu isn't the case.  The MzScheme packages on Ubuntu
install some stuff into /usr/lib/plt and the include files
into /usr/include/plt. Configure needs to know about both of these
paths, but only allows you to specify one, using --with-plthome, which
you should set to /usr/lib/plt.  Then inside this directory create a
symlink called "include" which points to /usr/include/plt.  You
shouldn't need any packages other than mzscheme (at least, I didn't need
any that weren't already installed).

It was kind of a tricky process in total, so I chronicled my adventures
in compiling Vim for Xubuntu on my website.  I used Aap to fetch the
source, but the standard make procedure to install it.  Here's the URL:

http://www.metasyntax.net/?section=unix&page=vim#xubuntu

Please let me know if you notice that I've missed anything important.

  


Thanks, Taylor. The net change for me on Kubuntu was
 sudo ln -s /usr/include/plt/ /usr/lib/plt/include
and adding
 export CONF_OPT_PLTHOME='--with-plthome=/usr/lib/plt'
to my copy of Tony's myenviro shell script.

Tony, Taylor's instructions should work on any *buntu variant.

Bram, 'make install' fails because there are no *.vim files in 
runtime/spell.

I'm using the latest stuff out of Subversion *except* for the runtime files,
which are fetched with Tony's rsync invocation:
 rsync -avzcP --delete --exclude="/dos/" ftp.nluug.nl::Vim/runtime/ 
./runtime/

I hacked around this by 'cp /dev/null runtime/spell/zzz.vim'

Remind me again why the runtime files are so badly out of date in 
Subversion.

Kdiff3 says that there are over 600 file-level differences between the
svn runtime and the nluug runtime.

--
/George V. Reilly  [EMAIL PROTECTED]
http://www.georgevreilly.com/blog
The biggest mistake is not learning from all your other mistakes.