Changeset 09ff212 for final-system
- Timestamp:
- May 11, 2006, 3:56:28 PM (19 years ago)
- Children:
- 636ac56
- Parents:
- 0b5aff71
- Location:
- final-system
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
final-system/common/vim.xml
r0b5aff71 r09ff212 36 36 <para os="a">First, unpack both <filename>vim-&vim-version;.tar.bz2</filename> 37 37 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 39 46 the <filename>vimrc</filename> configuration file to <filename 40 47 class="directory">/etc</filename>:</para> 41 48 42 <screen os=" b"><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> 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"' >> 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"> 49 56 <title>The meaning of the configure options:</title> 50 57 … … 63 70 </variablelist> 64 71 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>. 70 77 However, this test suite outputs a lot of binary data to the 71 78 screen, which can cause issues with the settings of the current terminal. 72 79 This can be resolved by redirecting the output to a log file.</para> 73 80 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> 77 84 78 85 <para os="l">Many users are used to using <command>vi</command> instead of … … 83 90 <screen os="m"><userinput>ln -sv vim /usr/bin/vi</userinput></screen> 84 91 85 <para os=" m1">By default, Vim's documentation is installed in92 <para os="n">By default, Vim's documentation is installed in 86 93 <filename class="directory">/usr/share/vim</filename>. The following symlink 87 94 allows the documentation to be accessed via … … 89 96 it consistent with the location of documentation for other packages:</para> 90 97 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 LFS98 <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 94 101 system, it may be necessary to recompile Vim after installing X. Vim 95 102 comes with a GUI version of the editor that requires X and some -
final-system/multilib/vim.xml
r0b5aff71 r09ff212 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../common/vim.xml" 30 xpointer="xpointer(//*[@os='p1'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/vim.xml" 34 xpointer="xpointer(//*[@os='p2'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/vim.xml" 30 38 xpointer="xpointer(//*[@os='b'])"/> 31 39 … … 34 42 xpointer="xpointer(//*[@os='c'])"/> 35 43 36 <screen os="d"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \37 --enable-multibyte</userinput></screen>38 39 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 40 45 href="../common/vim.xml" 41 xpointer="xpointer(//*[@os='e'])"/> 46 xpointer="xpointer(//*[@os='d'])"/> 47 48 <screen os="e"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \ 49 --enable-multibyte</userinput></screen> 42 50 43 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 63 71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 64 72 href="../common/vim.xml" 73 xpointer="xpointer(//*[@os='k'])"/> 74 75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 76 href="../common/vim.xml" 65 77 xpointer="xpointer(//*[@os='l'])"/> 66 78 … … 71 83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 72 84 href="../common/vim.xml" 73 xpointer="xpointer(//*[@os=' m1'])"/>85 xpointer="xpointer(//*[@os='n'])"/> 74 86 75 87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 76 88 href="../common/vim.xml" 77 xpointer="xpointer(//*[@os=' m2'])"/>89 xpointer="xpointer(//*[@os='o'])"/> 78 90 79 91 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 80 92 href="../common/vim.xml" 81 xpointer="xpointer(//*[@os=' n'])"/>93 xpointer="xpointer(//*[@os='p'])"/> 82 94 83 95 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.