[bbea0be] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[bbea0be] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[a31df65d] | 7 | <!ENTITY iso-codes-download-http "http://anduin.linuxfromscratch.org/BLFS/iso-codes/iso-codes-&iso-codes-version;.tar.xz">
|
---|
[fdc00738] | 8 | <!ENTITY iso-codes-download-ftp " ">
|
---|
[06bb5bde] | 9 | <!ENTITY iso-codes-md5sum "716ecc291f46e1431a7cb6de340b79a8">
|
---|
[2033727] | 10 | <!ENTITY iso-codes-size "3.8 MB">
|
---|
[06bb5bde] | 11 | <!ENTITY iso-codes-buildsize "87 MB">
|
---|
[0456d3b] | 12 | <!ENTITY iso-codes-time "0.2 SBU (with tests)">
|
---|
[bbea0be] | 13 | ]>
|
---|
| 14 |
|
---|
[c7e821f] | 15 | <sect1 id="iso-codes" xreflabel="ISO Codes-&iso-codes-version;">
|
---|
[bbea0be] | 16 | <?dbhtml filename="iso-codes.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[bccbdaea] | 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[bbea0be] | 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>ISO Codes-&iso-codes-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="iso-codes">
|
---|
| 26 | <primary sortas="a-ISO-Codes">ISO Codes</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to ISO Codes</title>
|
---|
| 31 |
|
---|
[c627795] | 32 | <para>
|
---|
| 33 | The <application>ISO Codes</application> package contains a list of
|
---|
| 34 | country, language and currency names and it is used as a central
|
---|
| 35 | database for accessing this data.
|
---|
| 36 | </para>
|
---|
[bbea0be] | 37 |
|
---|
[5380ca3] | 38 | &lfs91_checked;
|
---|
[214718a] | 39 |
|
---|
[bbea0be] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[c627795] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&iso-codes-download-http;"/>
|
---|
| 45 | </para>
|
---|
[bbea0be] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[c627795] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&iso-codes-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[bbea0be] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[c627795] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &iso-codes-md5sum;
|
---|
| 55 | </para>
|
---|
[bbea0be] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[c627795] | 58 | <para>
|
---|
| 59 | Download size: &iso-codes-size;
|
---|
| 60 | </para>
|
---|
[bbea0be] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[c627795] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &iso-codes-buildsize;
|
---|
| 65 | </para>
|
---|
[bbea0be] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[c627795] | 68 | <para>
|
---|
| 69 | Estimated build time: &iso-codes-time;
|
---|
| 70 | </para>
|
---|
[bbea0be] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
[4026a19] | 73 |
|
---|
[1039de3] | 74 | <para condition="html" role="usernotes">User Notes:
|
---|
[c627795] | 75 | <ulink url="&blfs-wiki;/iso-codes"/>
|
---|
| 76 | </para>
|
---|
[bbea0be] | 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
| 80 | <title>Installation of ISO Codes</title>
|
---|
| 81 |
|
---|
[c627795] | 82 | <para>
|
---|
| 83 | Install <application>ISO Codes</application> by running the following
|
---|
| 84 | commands:
|
---|
| 85 | </para>
|
---|
[bbea0be] | 86 |
|
---|
[c90d795] | 87 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[bbea0be] | 88 | make</userinput></screen>
|
---|
| 89 |
|
---|
[c627795] | 90 | <para>
|
---|
[aaed964] | 91 | To test the results, issue: <command>make check</command>.
|
---|
[c627795] | 92 | </para>
|
---|
[bbea0be] | 93 |
|
---|
[17f72f6] | 94 | <note>
|
---|
| 95 | <para>
|
---|
| 96 | If you install <application>ISO codes</application> over a previous
|
---|
[0456d3b] | 97 | installed version, the install step will fail when creating some
|
---|
| 98 | symlinks. In order to properly update them, run:
|
---|
[17f72f6] | 99 | </para>
|
---|
| 100 |
|
---|
[1a87abcd] | 101 | <screen><userinput>sed -i '/^LN_S/s/s/sfvn/' */Makefile</userinput></screen>
|
---|
[17f72f6] | 102 |
|
---|
| 103 | </note>
|
---|
| 104 |
|
---|
[c627795] | 105 | <para>
|
---|
| 106 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 107 | </para>
|
---|
[bbea0be] | 108 |
|
---|
[57b9d270] | 109 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[bbea0be] | 110 |
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2 role="content">
|
---|
| 114 | <title>Contents</title>
|
---|
| 115 |
|
---|
| 116 | <segmentedlist>
|
---|
[c3c56b2] | 117 | <segtitle>Installed Programs</segtitle>
|
---|
| 118 | <segtitle>Installed Libraries</segtitle>
|
---|
| 119 | <segtitle>Installed Directory</segtitle>
|
---|
[bbea0be] | 120 |
|
---|
| 121 | <seglistitem>
|
---|
[c3c56b2] | 122 | <seg>
|
---|
| 123 | None
|
---|
| 124 | </seg>
|
---|
| 125 | <seg>
|
---|
| 126 | None
|
---|
| 127 | </seg>
|
---|
[c627795] | 128 | <seg>
|
---|
[17f72f6] | 129 | /usr/share/iso-codes, /usr/share/xml/iso-codes
|
---|
[c627795] | 130 | </seg>
|
---|
[bbea0be] | 131 | </seglistitem>
|
---|
| 132 | </segmentedlist>
|
---|
| 133 |
|
---|
| 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | </sect1>
|
---|