[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[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 " ">
|
---|
[32dd16e] | 9 | <!ENTITY iso-codes-md5sum "5760b5a359301397cc3ab2baa165c31c">
|
---|
[c75fe53] | 10 | <!ENTITY iso-codes-size "3.7 MB">
|
---|
[32dd16e] | 11 | <!ENTITY iso-codes-buildsize "95 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 |
|
---|
[1241ea19] | 34 | &lfs121_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 |
|
---|
[bbea0be] | 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2 role="installation">
|
---|
| 73 | <title>Installation of ISO Codes</title>
|
---|
| 74 |
|
---|
[ccfb81f] | 75 | <para>
|
---|
| 76 | The directory is called iso-codes-&iso-codes-version;.
|
---|
| 77 | </para>
|
---|
| 78 |
|
---|
[c627795] | 79 | <para>
|
---|
| 80 | Install <application>ISO Codes</application> by running the following
|
---|
| 81 | commands:
|
---|
| 82 | </para>
|
---|
[bbea0be] | 83 |
|
---|
[c90d795] | 84 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[bbea0be] | 85 | make</userinput></screen>
|
---|
| 86 |
|
---|
[c627795] | 87 | <para>
|
---|
[aaed964] | 88 | To test the results, issue: <command>make check</command>.
|
---|
[c627795] | 89 | </para>
|
---|
[bbea0be] | 90 |
|
---|
[17f72f6] | 91 | <note>
|
---|
| 92 | <para>
|
---|
| 93 | If you install <application>ISO codes</application> over a previous
|
---|
[8558044] | 94 | installed version, the install step will fail when creating some
|
---|
[0456d3b] | 95 | symlinks. In order to properly update them, run:
|
---|
[17f72f6] | 96 | </para>
|
---|
| 97 |
|
---|
[1a87abcd] | 98 | <screen><userinput>sed -i '/^LN_S/s/s/sfvn/' */Makefile</userinput></screen>
|
---|
[17f72f6] | 99 |
|
---|
| 100 | </note>
|
---|
| 101 |
|
---|
[c627795] | 102 | <para>
|
---|
| 103 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 104 | </para>
|
---|
[bbea0be] | 105 |
|
---|
[57b9d270] | 106 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[bbea0be] | 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="content">
|
---|
| 111 | <title>Contents</title>
|
---|
| 112 |
|
---|
| 113 | <segmentedlist>
|
---|
[c3c56b2] | 114 | <segtitle>Installed Programs</segtitle>
|
---|
| 115 | <segtitle>Installed Libraries</segtitle>
|
---|
| 116 | <segtitle>Installed Directory</segtitle>
|
---|
[bbea0be] | 117 |
|
---|
| 118 | <seglistitem>
|
---|
[c3c56b2] | 119 | <seg>
|
---|
| 120 | None
|
---|
| 121 | </seg>
|
---|
| 122 | <seg>
|
---|
| 123 | None
|
---|
| 124 | </seg>
|
---|
[c627795] | 125 | <seg>
|
---|
[17f72f6] | 126 | /usr/share/iso-codes, /usr/share/xml/iso-codes
|
---|
[c627795] | 127 | </seg>
|
---|
[bbea0be] | 128 | </seglistitem>
|
---|
| 129 | </segmentedlist>
|
---|
| 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | </sect1>
|
---|