Ignore:
Timestamp:
May 11, 2006, 3:56:28 PM (19 years ago)
Author:
Jim Gifford <clfs@…>
Children:
636ac56
Parents:
0b5aff71
Message:

r3392@server: jim | 2006-05-11 15:54:34 -0700
Added: Vim 7.0 Upstream Patches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • final-system/common/vim.xml

    r0b5aff71 r09ff212  
    3636    <para os="a">First, unpack both <filename>vim-&vim-version;.tar.bz2</filename>
    3737    and (optionally) <filename>vim-&vim-version;-lang.tar.gz</filename>
    38     archives into the same directory. Then, change the default location of
     38    archives into the same directory.</para>
     39
     40    <para os="p1">The following patch contains updates from the maintainer. The
     41    maintainer of Vim only releases these patches to fix serious issues.</para>
     42
     43<screen os="p2"><userinput>patch -Np1 -i ../&vim-fixes-patch;</userinput></screen>
     44
     45    <para os="b">Change the default location of
    3946    the <filename>vimrc</filename> configuration file to <filename
    4047    class="directory">/etc</filename>:</para>
    4148
    42 <screen os="b"><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h</userinput></screen>
    43 
    44     <para os="c">Prepare Vim for compilation:</para>
    45 
    46 <screen os="d"><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>
    47 
    48     <variablelist os="e">
     49<screen os="c"><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h</userinput></screen>
     50
     51    <para os="d">Prepare Vim for compilation:</para>
     52
     53<screen os="e"><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>
     54
     55    <variablelist os="f">
    4956      <title>The meaning of the configure options:</title>
    5057
     
    6370    </variablelist>
    6471
    65     <para os="f">Compile the package:</para>
    66 
    67 <screen os="g"><userinput>make</userinput></screen>
    68 
    69     <para os="h">To test the results, issue: <userinput>make test</userinput>.
     72    <para os="g">Compile the package:</para>
     73
     74<screen os="h"><userinput>make</userinput></screen>
     75
     76    <para os="i">To test the results, issue: <userinput>make test</userinput>.
    7077    However, this test suite outputs a lot of binary data to the
    7178    screen, which can cause issues with the settings of the current terminal.
    7279    This can be resolved by redirecting the output to a log file.</para>
    7380
    74     <para os="i">Install the package:</para>
    75 
    76 <screen os="j"><userinput>make install</userinput></screen>
     81    <para os="j">Install the package:</para>
     82
     83<screen os="k"><userinput>make install</userinput></screen>
    7784
    7885    <para os="l">Many users are used to using <command>vi</command> instead of
     
    8390<screen os="m"><userinput>ln -sv vim /usr/bin/vi</userinput></screen>
    8491
    85 <para os="m1">By default, Vim's documentation is installed in
     92<para os="n">By default, Vim's documentation is installed in
    8693<filename class="directory">/usr/share/vim</filename>.  The following symlink
    8794allows the documentation to be accessed via
     
    8996it consistent with the location of documentation for other packages:</para>
    9097
    91 <screen os="m2"><userinput>ln -sv ../vim/vim&vim-version2;/doc /usr/share/doc/vim-&vim-version;</userinput></screen>
    92 
    93     <para os="n">If an X Window System is going to be installed on the LFS
     98<screen os="o"><userinput>ln -sv ../vim/vim&vim-version2;/doc /usr/share/doc/vim-&vim-version;</userinput></screen>
     99
     100    <para os="p">If an X Window System is going to be installed on the LFS
    94101    system, it may be necessary to recompile Vim after installing X. Vim
    95102    comes with a GUI version of the editor that requires X and some
Note: See TracChangeset for help on using the changeset viewer.