Ticket #2003: vim-update.diff
File vim-update.diff, 6.9 KB (added by , 17 years ago) |
---|
-
postlfs/editors/vim.xml
18 18 19 19 <!ENTITY vim-download-http "http://ftp.at.vim.org/pub/vim/unix/vim-&vim-version;.tar.bz2"> 20 20 <!ENTITY vim-download-ftp "ftp://ftp.vim.org/pub/vim/unix/vim-&vim-version;.tar.bz2"> 21 <!ENTITY vim-md5sum " 774c14d93ce58674b3b2c880edd12d77">22 <!ENTITY vim-size " 3.6MB">23 <!ENTITY vim-buildsize " 41MB">21 <!ENTITY vim-md5sum "4ca69757678272f718b1041c810d82d8"> 22 <!ENTITY vim-size "6.4 MB"> 23 <!ENTITY vim-buildsize "56.4 MB"> 24 24 <!ENTITY vim-time "0.6 SBU"> 25 25 ]> 26 26 … … 76 76 </itemizedlist> 77 77 78 78 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 79 <itemizedlist spacing= 'compact'>79 <itemizedlist spacing="compact"> 80 80 <listitem> 81 81 <para>Translated Vim messages: <ulink 82 82 url="http://ftp.at.vim.org/pub/vim/extra/vim-&vim-version;-lang.tar.gz"/> 83 83 </para> 84 84 </listitem> 85 </itemizedlist> 85 <listitem> 86 <para>This version of <application>Vim</application> installs translated 87 man pages and places them into directories that will not be searched by 88 <application>Man-DB</application>.This patch ensures that Vim will install its 89 man pages into searchable directories and ultimately allows <application>Man-DB</application> 90 to transcode the page into the desired format at run-time: <ulink 91 url="&patch-root;/vim-&vim-version;-mandir-1.patch"/></para> 92 </listitem> 93 <listitem> 94 <para>Required patch to fix several <application>Vim</application> 95 issues after the initial <application>Vim-&vim-version;</application>: <ulink 96 url="&patch-root;/vim-&vim-version;-fixes-14.patch.bz2"/></para> 97 </listitem> 98 </itemizedlist> 86 99 100 87 101 <bridgehead renderas="sect3">Vim Dependencies</bridgehead> 88 102 89 103 <bridgehead renderas="sect4">Recommended</bridgehead> … … 126 140 127 141 <screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h && 128 142 echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h && 143 patch -Np1 -i ../vim-&vim-version;-mandir-1.patch && 144 bzcat ../vim-&vim-version;-fixes-14.patch.bz2 | patch -p1 && 129 145 ./configure --prefix=/usr --with-features=huge && 130 146 make</userinput></screen> 131 147 … … 140 156 are going to use a UTF-8 based locale, remove non-ISO-8859-1 tutorials. An 141 157 English tutorial will be used instead.</para> 142 158 143 <screen ><userinput>rm -f /usr/share/vim/vim64/tutor/tutor.{gr,pl,ru,sk}144 rm -f /usr/share/vim/vim 64/tutor/tutor.??.*</userinput></screen>159 <screen role="root"><userinput>rm -f /usr/share/vim/vim70/tutor/tutor.{gr,pl,ru,sk} 160 rm -f /usr/share/vim/vim70/tutor/tutor.??.*</userinput></screen> 145 161 162 <para>By default, Vim's documentation is installed in <filename class="directory">/usr/share/vim</filename>. 163 The following symlink allows the documentation to be accessed via <filename class="directory">/usr/share/doc/vim-7.0</filename>, 164 making it consistent with the location of documentation for other packages:</para> 165 166 <screen role="root"><userinput>[ -L /usr/share/doc/vim-7.0 ] || ln -sv ../vim/vim70/doc /usr/share/doc/vim-7.0</userinput></screen> 167 146 168 </sect2> 147 169 148 170 <sect2 role="commands"> 149 171 <title>Command Explanations</title> 150 172 151 <para>< parameter>--with-features=huge</parameter>: This switch enables all173 <para><option>--with-features=huge</option>: This switch enables all 152 174 the additional features available in <application>Vim</application>.</para> 153 175 154 176 <para><option>--enable-gui=no</option>: This will prevent compilation of the 155 177 GUI. <application>Vim</application> will still link against 156 <application>X</application> so that some nice eye-candy such as updating the 157 title bar of an <application>Xterm</application> window are available.</para> 178 <application>X</application> so that X11 selection or some nice eye-candy such 179 as updating the title bar of an <application>Xterm</application> window 180 are available.</para> 158 181 159 182 <para><option>--without-x</option>: If you prefer not to link 160 183 <application>Vim</application> against <application>X</application>, use 161 184 this switch.</para> 185 186 <para><option>--enable-perlinterp</option></para> 187 <para><option>--enable-pythoninterp</option></para> 188 <para><option>--enable-tclinterp</option></para> 189 <para><option>--enable-rubyinterp</option></para> 190 <para>To include the Perl,Python,Tcl,Ruby interpreters respectively.</para> 162 191 192 <note> 193 <para><application>Vim-&vim-version;</application> introduced an integrated spell checker 194 that doesn't requires additional libraries to be installed. 195 To enable the spell checker you can set the following to <filename>/etc/vimrc</filename> 196 or in <filename>~/.vimrc</filename>.</para> 197 <screen><literal>set spell 198 set spelllang=en_us 199 </literal></screen> 200 <para>By default, <application>Vim</application> only installs spell files for the English language. 201 If a spell file is not available for your language,then <application>Vim</application> will 202 call the <filename>$VIMRUNTIME/plugin/spellfile.vim</filename> and will try to obtain the *.spl 203 and optionally *.sug from the vim ftp server,using the <filename>$VIMRUNTIME/plugin/netrw</filename> plugin.</para> 204 205 <para>Alternative you can manually download the *.spl and *.sug files from: 206 <ulink url="ftp://ftp.vim.org/pub/vim/runtime/spell/"/> 207 and save them to <filename class="directory"> ~/.vim/spell </filename> or in <filename class="directory"> 208 /usr/share/vim/vim70/spell/</filename>.</para> 209 210 <para>For more information about the spell checker, among some other new features in 211 <application>Vim-&vim-version;</application> (such us vimgrep,tab-pages,omni-completion),issue the 212 following command inside <application>Vim</application>:</para> 213 <screen><literal>:help version7</literal></screen> 214 </note> 163 215 </sect2> 164 216 165 217 <sect2 role="content"> -
general.ent
1 <!ENTITY day "2 5"> <!-- Always 2 digits -->1 <!ENTITY day "26"> <!-- Always 2 digits --> 2 2 <!ENTITY month "10"> <!-- Always 2 digits --> 3 3 <!ENTITY year "2006"> 4 4 <!ENTITY version "svn-&year;&month;&day;"> … … 71 71 <!ENTITY xfsprogs-version "2.7.11"> 72 72 73 73 <!-- Chapter 6 --> 74 <!ENTITY vim-version " 6.4">74 <!ENTITY vim-version "7.0"> 75 75 <!ENTITY emacs-version "21.4a"> 76 76 <!ENTITY nano-version "1.2.5"> 77 77 <!ENTITY joe-version "3.5">