Changeset 817bb11 in clfs-sysroot for BOOK


Ignore:
Timestamp:
Jun 6, 2006, 5:09:31 PM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
2be6f63
Parents:
124ebe0
Message:

r3845@server (orig r1734): jciccone | 2006-06-06 14:31:29 -0700
Added information about cross-compiling vim

Location:
BOOK
Files:
4 edited

Legend:

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

    r124ebe0 r817bb11  
    3434    <title>Installation of Vim</title>
    3535
    36     <important os="w1"><para>The cross-compilation of vim is currently a mystery. Help would be greatly apreciated</para></important>
    37 
    3836    <para os="a">First, unpack both <filename>vim-&vim-version;.tar.bz2</filename>
    3937    and (optionally) <filename>vim-&vim-version;-lang.tar.gz</filename>
    4038    archives into the same directory.</para>
    4139
    42     <para os="p1">The following patch contains updates from the maintainer. The
     40    <para os="p1">The following patch fixes numerous issues with
     41    cross-compiling vim</para>
     42
     43<screen os="p2"><userinput>patch -Np1 -i ../&vim-cross_compile-patch;</userinput></screen>
     44
     45    <para os="p3">The following patch contains updates from the maintainer. The
    4346    maintainer of Vim only releases these patches to fix serious issues.</para>
    4447
    45 <screen os="p2"><userinput>patch -Np1 -i ../&vim-fixes-patch;</userinput></screen>
     48<screen os="p4"><userinput>patch -Np1 -i ../&vim-fixes-patch;</userinput></screen>
    4649
    4750    <para os="b">Change the default location of
     
    5356    <para os="d">Prepare Vim for compilation:</para>
    5457
    55 <screen os="e"><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>
     58<screen os="e"><userinput>./configure --prefix=/usr --host=${LFS_TARGET} \
     59    --enable-multibyte --enable-gui=no \
     60    --disable-gtktest --disable-xim \
     61    --with-features=normal --disable-gpm \
     62    --without-x --disable-netbeans \
     63    --with-tlib=ncurses</userinput></screen>
    5664
    5765    <variablelist os="f">
     
    7684<screen os="h"><userinput>make</userinput></screen>
    7785
    78     <para os="i">To test the results, issue: <userinput>make test</userinput>.
    79     However, this test suite outputs a lot of binary data to the
    80     screen, which can cause issues with the settings of the current terminal.
    81     This can be resolved by redirecting the output to a log file.</para>
    82 
    83     <para os="j">Install the package:</para>
    84 
    85 <screen os="k"><userinput>make install</userinput></screen>
    86 
    87     <para os="l">Many users are used to using <command>vi</command> instead of
     86    <para os="i">Install the package:</para>
     87
     88<screen os="j"><userinput>make DESTDIR=${LFS} install</userinput></screen>
     89
     90    <para os="k">Many users are used to using <command>vi</command> instead of
    8891    <command>vim</command>. To allow execution of <command>vim</command>
    8992    when users habitually enter <command>vi</command>, create a
    9093    symlink:</para>
    9194
    92 <screen os="m"><userinput>ln -sv vim /usr/bin/vi</userinput></screen>
    93 
    94 <para os="n">By default, Vim's documentation is installed in
     95<screen os="l"><userinput>ln -sv vim ${LFS}/usr/bin/vi</userinput></screen>
     96
     97<para os="m">By default, Vim's documentation is installed in
    9598<filename class="directory">/usr/share/vim</filename>.  The following symlink
    9699allows the documentation to be accessed via
     
    98101it consistent with the location of documentation for other packages:</para>
    99102
    100 <screen os="o"><userinput>ln -sv ../vim/vim&vim-version2;/doc /usr/share/doc/vim-&vim-version;</userinput></screen>
     103<screen os="n"><userinput>ln -sv ../vim/vim&vim-version2;/doc ${LFS}/usr/share/doc/vim-&vim-version;</userinput></screen>
    101104
    102105    <para os="p">If an X Window System is going to be installed on the LFS
     
    127130    following:</para>
    128131
    129 <screen><userinput>cat &gt; /etc/vimrc &lt;&lt; "EOF"
     132<screen><userinput>cat &gt; ${LFS}/etc/vimrc &lt;&lt; "EOF"
    130133<literal>" Begin /etc/vimrc
    131134
  • BOOK/general.ent

    r124ebe0 r817bb11  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    22
    3 <!ENTITY version "SVN-20060605">
     3<!ENTITY version "SVN-20060606">
    44<!ENTITY version-ARM "&version;-ARM">
    55
  • BOOK/introduction/common/changelog.xml

    r124ebe0 r817bb11  
    3838
    3939    <listitem>
     40      <para>June 6, 2006</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[jciccone] - Added information about cross-compiling vim.</para>
     44        </listitem>
     45      </itemizedlist>
     46    </listitem>
     47
     48    <listitem>
    4049      <para>May 29, 2006</para>
    4150      <itemizedlist>
  • BOOK/patches.ent

    r124ebe0 r817bb11  
    122122<!ENTITY vim-fixes-patch-size "20 KB">
    123123
     124<!ENTITY vim-cross_compile-patch "vim-&vim-version;-cross_compile-1.patch">
     125<!ENTITY vim-cross_compile-patch-md5 "05da89742f75fc39292fbf7c5ccc17ff">
     126<!ENTITY vim-criss_compile-patch-size "28 KB">
     127
    124128<!ENTITY zlib-fpic-patch "zlib-&zlib-version;-fPIC-1.patch">
    125129<!ENTITY zlib-fpic-patch-md5 "545d60b20bfde6f53023de44438cef59">
Note: See TracChangeset for help on using the changeset viewer.