Changeset fe45ecd


Ignore:
Timestamp:
08/05/2009 05:24:57 AM (15 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
d272fb31
Parents:
9045df8
Message:

Removed/replaced convert-mans commands.

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r9045df8 rfe45ecd  
    44-->
    55
    6 <!ENTITY day          "04">                   <!-- Always 2 digits -->
     6<!ENTITY day          "05">                   <!-- Always 2 digits -->
    77<!ENTITY month        "08">                   <!-- Always 2 digits -->
    88<!ENTITY year         "2009">
  • general/sysutils/mc.xml

    r9045df8 rfe45ecd  
    140140    converted if (and only if) the Debian patch has been applied:</para>
    141141
    142 <screen><userinput>convert-mans ISO-8859-1 UTF-8 lib/mc.hint{,.es,.it,.nl} &amp;&amp;
    143 convert-mans ISO-8859-2 UTF-8 lib/mc.hint{.cs,.hu,.pl} &amp;&amp;
    144 convert-mans ISO-8859-5 UTF-8 lib/mc.hint.sr &amp;&amp;
    145 convert-mans KOI8-R UTF-8 lib/mc.hint.ru &amp;&amp;
    146 convert-mans KOI8-U UTF-8 lib/mc.hint.uk &amp;&amp;
    147 convert-mans BIG5 UTF-8 lib/mc.hint.zh &amp;&amp;
    148 convert-mans ISO-8859-1 UTF-8 doc/{es,it}/mc.hlp.* &amp;&amp;
    149 convert-mans ISO-8859-2 UTF-8 doc/{hu,pl}/mc.hlp.* &amp;&amp;
    150 convert-mans ISO-8859-5 UTF-8 doc/sr/mc.hlp.sr &amp;&amp;
    151 convert-mans KOI8-R UTF-8 doc/ru/mc.hlp.ru</userinput></screen>
     142<!-- The proposed (untested) fix...somebody who uses MC please verify -->
     143<screen><userinput>for file in lib/mc.hint{,.es,.it,.nl} doc/{es,it}/mc.hlp.*
     144do
     145    iconv -f ISO-8859-1 -t UTF-8 ${file} > ${file}.utf8 &amp;&amp;
     146    mv ${file}.utf8 ${file}
     147done &amp;&amp;
     148for file in lib/mc.hint{.cs,.hu,.pl} doc/{hu,pl}/mc.hlp.*
     149do
     150    iconv -f ISO-8859-2 -t UTF-8 ${file} > ${file}.utf8 &amp;&amp;
     151    mv ${file}.utf8 ${file}
     152done &amp;&amp;
     153for file in lib/mc.hint.sr doc/sr/mc.hlp.sr
     154do
     155    iconv -f ISO-8859-5 -t UTF-8 ${file} > ${file}.utf8 &amp;&amp;
     156    mv ${file}.utf8 ${file}
     157done &amp;&amp;
     158for file in doc/ru/mc.hlp.ru lib/mc.hint.ru
     159do
     160    iconv -f KOI8-R -t UTF-8 ${file} > ${file}.utf8 &amp;&amp;
     161    mv ${file}.utf8 ${file}
     162done &amp;&amp;
     163iconv -f KOI8-U -t UTF-8 lib/mc.hint.uk > lib/mc.hint.uk.utf8 &amp;&amp;
     164mv lib/mc.hint.uk.utf8 lib/mc.hint.uk &amp;&amp;
     165iconv -f BIG5 -t UTF-8 lib/mc.hint.zh > lib/mc.hint.zh.utf8 &amp;&amp;
     166mv lib/mc.hint.zh.utf8 lib/mc.hint.zh</userinput></screen>
    152167
    153168    <para>This package does not come with a test suite.</para>
  • introduction/welcome/changelog.xml

    r9045df8 rfe45ecd  
    4242-->
    4343    <listitem>
     44      <para>August 5th, 2009</para>
     45      <itemizedlist>
     46        <listitem>
     47          <para>[dj] - Removed unnecessary convert-mans commands in shadow
     48          instructions, and replaced invalid convert-mans commands with
     49          equivalent iconv commands in MC.</para>
     50        </listitem>
     51      </itemizedlist>
     52    </listitem>
     53
     54    <listitem>
    4455      <para>August 4th, 2009</para>
    4556      <itemizedlist>
  • postlfs/security/shadow.xml

    r9045df8 rfe45ecd  
    111111sed -i -e 's/ ko//' -e 's/ zh_CN zh_TW//' man/Makefile.in       &amp;&amp;
    112112
    113 for i in de fi fr id it pt_BR; do
    114     convert-mans UTF-8 ISO-8859-1 man/${i}/*.?
    115 done                                                            &amp;&amp;
    116 
    117 for i in cs hu pl; do
    118     convert-mans UTF-8 ISO-8859-2 man/${i}/*.?
    119 done                                                            &amp;&amp;
    120 
    121 convert-mans UTF-8 EUC-JP man/ja/*.?                            &amp;&amp;
    122 convert-mans UTF-8 KOI8-R man/ru/*.?                            &amp;&amp;
    123 convert-mans UTF-8 ISO-8859-9 man/tr/*.?                        &amp;&amp;
    124 
    125113sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD MD5@' \
    126114       -e 's@/var/spool/mail@/var/mail@' etc/login.defs         &amp;&amp;
     
    155143    command disables the installation of Chinese and Korean manual pages, since
    156144    <application>Man-DB</application> cannot format them properly.</para>
    157 
    158     <para><command>convert-mans ...</command>: These commands are used to
    159     convert some of the man pages so that <application>Man-DB</application>
    160     will display them in the expected encodings.</para>
    161145
    162146    <para><command>sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD MD5@'
Note: See TracChangeset for help on using the changeset viewer.