[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 |
|
---|
[b3d0dbd] | 7 | <!ENTITY iso-codes-download-http "https://ftp.debian.org/debian/pool/main/i/iso-codes/iso-codes_&iso-codes-version;.orig.tar.xz">
|
---|
[fdc00738] | 8 | <!ENTITY iso-codes-download-ftp " ">
|
---|
[eff640ce] | 9 | <!ENTITY iso-codes-md5sum "e7f0063a5e3f6426ac55c4726e7dd3a1">
|
---|
[c75fe53] | 10 | <!ENTITY iso-codes-size "3.7 MB">
|
---|
[eff640ce] | 11 | <!ENTITY iso-codes-buildsize "94 MB">
|
---|
[c75fe53] | 12 | <!ENTITY iso-codes-time "0.1 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 |
|
---|
| 19 | <title>ISO Codes-&iso-codes-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="iso-codes">
|
---|
| 22 | <primary sortas="a-ISO-Codes">ISO Codes</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to ISO Codes</title>
|
---|
| 27 |
|
---|
[c627795] | 28 | <para>
|
---|
| 29 | The <application>ISO Codes</application> package contains a list of
|
---|
| 30 | country, language and currency names and it is used as a central
|
---|
| 31 | database for accessing this data.
|
---|
| 32 | </para>
|
---|
[bbea0be] | 33 |
|
---|
[03c0def] | 34 | &lfs113_checked;
|
---|
[214718a] | 35 |
|
---|
[bbea0be] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[c627795] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&iso-codes-download-http;"/>
|
---|
| 41 | </para>
|
---|
[bbea0be] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[c627795] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&iso-codes-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[bbea0be] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[c627795] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &iso-codes-md5sum;
|
---|
| 51 | </para>
|
---|
[bbea0be] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[c627795] | 54 | <para>
|
---|
| 55 | Download size: &iso-codes-size;
|
---|
| 56 | </para>
|
---|
[bbea0be] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[c627795] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &iso-codes-buildsize;
|
---|
| 61 | </para>
|
---|
[bbea0be] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[c627795] | 64 | <para>
|
---|
| 65 | Estimated build time: &iso-codes-time;
|
---|
| 66 | </para>
|
---|
[bbea0be] | 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
[8558044] | 69 |
|
---|
[1039de3] | 70 | <para condition="html" role="usernotes">User Notes:
|
---|
[c627795] | 71 | <ulink url="&blfs-wiki;/iso-codes"/>
|
---|
| 72 | </para>
|
---|
[bbea0be] | 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2 role="installation">
|
---|
| 76 | <title>Installation of ISO Codes</title>
|
---|
| 77 |
|
---|
[ccfb81f] | 78 | <para>
|
---|
| 79 | The directory is called iso-codes-&iso-codes-version;.
|
---|
| 80 | </para>
|
---|
| 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
|
---|
[8558044] | 97 | installed version, the install step will fail when creating some
|
---|
[0456d3b] | 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>
|
---|