[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 " ">
|
---|
[4d7d99d] | 9 | <!ENTITY iso-codes-md5sum "7d994bab4b0b7156e82ee7e117eb686b">
|
---|
[a31df65d] | 10 | <!ENTITY iso-codes-size "3.4 MB">
|
---|
[4d7d99d] | 11 | <!ENTITY iso-codes-buildsize "84 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 |
|
---|
[d47ad20c] | 38 | &lfs83_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 |
|
---|
| 74 | <bridgehead renderas="sect3">ISO Codes Dependencies</bridgehead>
|
---|
[60ddbaf] | 75 | <!--
|
---|
[998a0e0] | 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4026a19] | 77 | <para role="required">
|
---|
| 78 | <xref linkend="python3"/>
|
---|
| 79 | </para>
|
---|
[60ddbaf] | 80 | -->
|
---|
[1039de3] | 81 | <para condition="html" role="usernotes">User Notes:
|
---|
[c627795] | 82 | <ulink url="&blfs-wiki;/iso-codes"/>
|
---|
| 83 | </para>
|
---|
[bbea0be] | 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
| 87 | <title>Installation of ISO Codes</title>
|
---|
| 88 |
|
---|
[c627795] | 89 | <para>
|
---|
| 90 | Install <application>ISO Codes</application> by running the following
|
---|
| 91 | commands:
|
---|
| 92 | </para>
|
---|
[bbea0be] | 93 |
|
---|
[c90d795] | 94 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[bbea0be] | 95 | make</userinput></screen>
|
---|
| 96 |
|
---|
[c627795] | 97 | <para>
|
---|
[aaed964] | 98 | To test the results, issue: <command>make check</command>.
|
---|
[c627795] | 99 | </para>
|
---|
[bbea0be] | 100 |
|
---|
[17f72f6] | 101 | <note>
|
---|
| 102 | <para>
|
---|
| 103 | If you install <application>ISO codes</application> over a previous
|
---|
[0456d3b] | 104 | installed version, the install step will fail when creating some
|
---|
| 105 | symlinks. In order to properly update them, run:
|
---|
[17f72f6] | 106 | </para>
|
---|
| 107 |
|
---|
[1a87abcd] | 108 | <screen><userinput>sed -i '/^LN_S/s/s/sfvn/' */Makefile</userinput></screen>
|
---|
[17f72f6] | 109 |
|
---|
| 110 | </note>
|
---|
| 111 |
|
---|
[c627795] | 112 | <para>
|
---|
| 113 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 114 | </para>
|
---|
[bbea0be] | 115 |
|
---|
[57b9d270] | 116 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[bbea0be] | 117 |
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2 role="content">
|
---|
| 121 | <title>Contents</title>
|
---|
| 122 |
|
---|
| 123 | <segmentedlist>
|
---|
[c3c56b2] | 124 | <segtitle>Installed Programs</segtitle>
|
---|
| 125 | <segtitle>Installed Libraries</segtitle>
|
---|
| 126 | <segtitle>Installed Directory</segtitle>
|
---|
[bbea0be] | 127 |
|
---|
| 128 | <seglistitem>
|
---|
[c3c56b2] | 129 | <seg>
|
---|
| 130 | None
|
---|
| 131 | </seg>
|
---|
| 132 | <seg>
|
---|
| 133 | None
|
---|
| 134 | </seg>
|
---|
[c627795] | 135 | <seg>
|
---|
[17f72f6] | 136 | /usr/share/iso-codes, /usr/share/xml/iso-codes
|
---|
[c627795] | 137 | </seg>
|
---|
[bbea0be] | 138 | </seglistitem>
|
---|
| 139 | </segmentedlist>
|
---|
| 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | </sect1>
|
---|