Changeset 59a6b63 for postlfs


Ignore:
Timestamp:
08/08/2015 01:03:10 AM (9 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
604bf744
Parents:
037fc0be
Message:
  • Update to tcsh-6.19.00.
  • Update to fribidi-0.19.7.
  • Update to subversion-1.9.0.
  • Update to mariadb-10.0.21.
  • Update to firefox-39.0.3.
  • SDL-1.2.15: Move "--disable-sdl-dlopen" to option.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16332 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/shells/tcsh.xml

    r037fc0be r59a6b63  
    55  %general-entities;
    66
    7   <!ENTITY tcsh-download-http "http://www.sfr-fresh.com/unix/misc/tcsh-&tcsh-version;.tar.gz">
     7  <!-- Following URL does not have previous versions
     8  <!ENTITY tcsh-download-http "http://www.sfr-fresh.com/unix/misc/tcsh-&tcsh-version;.tar.gz">-->
     9  <!-- Following URL does have previous versions -->
     10  <!ENTITY tcsh-download-http "http://fossies.org/linux/misc/tcsh-&tcsh-version;.tar.gz">
    811  <!ENTITY tcsh-download-ftp  "ftp://ftp.astron.com/pub/tcsh/tcsh-&tcsh-version;.tar.gz">
    9   <!ENTITY tcsh-md5sum        "6eed09dbd4223ab5b6955378450d228a">
    10   <!ENTITY tcsh-size          "912 KB">
    11   <!ENTITY tcsh-buildsize     "12.6 MB">
    12   <!ENTITY tcsh-time          "0.2 SBU">
     12  <!ENTITY tcsh-md5sum        "f5f854833578647795bc906dd4bcb5d5">
     13  <!ENTITY tcsh-size          "928 KB">
     14  <!ENTITY tcsh-buildsize     "15 MB (with tests)">
     15  <!ENTITY tcsh-time          "0.2 SBU (with tests)">
    1316]>
    1417
     
    3740    installation tasks.</para>
    3841
    39     &lfs77_checked;
     42    &lfs77_checked; &gcc5_checked;
    4043
    4144    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    6972    <title>Installation of Tcsh</title>
    7073
     74    <para>
     75      First, fix the package for gcc5 optimizations:
     76    </para>
     77
     78<screen><userinput>sed -e 's/ i)/ k)/' \
     79    -e '/ k)/  i \    k = i;' \
     80    -e '/\*cp/ a \    volatile size_t k;' \
     81    -i tc.alloc.c</userinput></screen>
     82
    7183    <para>Install <application>Tcsh</application> by running the following
    7284    commands:</para>
    7385
    74 <screen><userinput>sed -i -e 's|\$\*|#&amp;|' -e 's|fR/g|&amp;m|' tcsh.man2html &amp;&amp;
    75 
     86<screen><userinput>sed -i 's|fR/g|&amp;m|' tcsh.man2html       &amp;&amp;
    7687./configure --prefix=/usr --bindir=/bin &amp;&amp;
     88
    7789make &amp;&amp;
    7890sh ./tcsh.man2html</userinput></screen>
     
    8395
    8496<screen role="root"><userinput>make install install.man &amp;&amp;
     97
    8598ln -v -sf tcsh   /bin/csh &amp;&amp;
    8699ln -v -sf tcsh.1 /usr/share/man/man1/csh.1 &amp;&amp;
     100
    87101install -v -m755 -d          /usr/share/doc/tcsh-&tcsh-version;/html &amp;&amp;
    88102install -v -m644 tcsh.html/* /usr/share/doc/tcsh-&tcsh-version;/html &amp;&amp;
     
    94108    <title>Command Explanations</title>
    95109
    96     <para><command>sed -i -e 's|\$\*|#&amp;|' -e 's|fR/g|&amp;m|' tcsh.man2html</command>:
     110    <para><command>sed -i 's|fR/g|&amp;m|' tcsh.man2html</command>:
    97111    This updates some deprecated Perl code.</para>
    98112
     
    175189<literal>/bin/tcsh
    176190/bin/csh</literal>
     191EOF</userinput></screen>
     192
     193      <para>
     194        The following <filename>~/.cshrc</filename> provides two alternative
     195        colour prompts and coloured <command>ls</command> output. If you prefer
     196        a global modification, issue the command as the <systemitem
     197        class="username">root</systemitem> user, replacing
     198        <filename>~/.cshrc</filename> by <filename>/etc/csh.cshrc</filename>.
     199      </para>
     200
     201<screen><userinput>cat &gt; ~/.cshrc &lt;&lt; "EOF"
     202<literal># Original at:
     203# https://www.cs.umd.edu/~srhuang/teaching/code_snippets/prompt_color.tcsh.html
     204
     205# Modified BLFS Development Team:
     206
     207# Add these lines to your ~/.cshrc (or to /etc/csh.cshrc).
     208
     209# Colors!
     210set     red="%{\033[1;31m%}"
     211set   green="%{\033[0;32m%}"
     212set  yellow="%{\033[1;33m%}"
     213set    blue="%{\033[1;34m%}"
     214set magenta="%{\033[1;35m%}"
     215set    cyan="%{\033[1;36m%}"
     216set   white="%{\033[0;37m%}"
     217set     end="%{\033[0m%}" # This is needed at the end...
     218
     219# Setting the actual prompt.  Two separate versions for you to try, pick
     220# whichever one you like better, and change the colors as you want.
     221# Just don't mess with the ${end} guy in either line...  Comment out or
     222# delete the prompt you don't use.
     223
     224set prompt="${green}%n${blue}@%m ${white}%~ ${green}%%${end} "
     225set prompt="[${green}%n${blue}@%m ${white}%~ ]${end} "
     226
     227# This was not in the original URL above
     228# Provides coloured ls
     229alias ls ls --color=always
     230
     231# Clean up after ourselves...
     232unset red green yellow blue magenta cyan yellow white end</literal>
    177233EOF</userinput></screen>
    178234
Note: See TracChangeset for help on using the changeset viewer.