libidn-1.35

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 9. General Libraries

- Prev

  libical-3.0.4

- Next

  libidn2-2.1.1

- Up
- Home

# libidn-1.35

## Introduction to libidn

libidn is a package designed for internationalized string handling based on the Stringprep, Punycode and IDNA specifications defined by the Internet Engineering Task Force (IETF) Internationalized Domain Names (IDN) working group, used for internationalized domain names. This is useful for converting data from the system's native representation into UTF-8, transforming Unicode strings into ASCII strings, allowing applications to use certain ASCII name labels (beginning with a special prefix) to represent non-ASCII name labels, and converting entire domain names to and from the ASCII Compatible Encoding (ACE) form.

This package is known to build and work properly using an LFS-8.4 platform.

### Package Information

- Download (HTTP): https://ftp.gnu.org/gnu/libidn/libidn-1.35.tar.gz

- Download (FTP): ftp://ftp.gnu.org/gnu/libidn/libidn-1.35.tar.gz

- Download MD5 sum: bef634141fe39326cb354b75e891fead

- Download size: 4.0 MB

- Estimated disk space required: 25 MB

- Estimated build time: 0.2 SBU (using parallelim=4)

### libidn Dependencies

#### Optional

Pth-2.0.7, Emacs-26.1, GTK-Doc-1.29, OpenJDK-11.0.2, Valgrind-3.14.0, and Mono

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libidn

## Installation of libidn

Install libidn by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install &&

    find doc -name "Makefile*" -delete            &&
    rm -rf -v doc/{gdoc,idn.1,stamp-vti,man,texi} &&
    mkdir -v       /usr/share/doc/libidn-1.35     &&
    cp -r -v doc/* /usr/share/doc/libidn-1.35

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

`--enable-gtk-doc`: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

## Contents

Installed Program: idn
Installed Library: libidn.so
Installed Directories: /usr/share/doc/libidn-1.35 and /usr/share/gtk-doc/html/libidn

### Short Descriptions

idn | is a command line interface to the internationalized domain name library.
`libidn.so` | contains a generic Stringprep implementation that does Unicode 3.2 NFKC normalization, mapping and prohibition of characters, and bidirectional character handling. Profiles for Nameprep, iSCSI, SASL and XMPP are included as well as support for Punycode and ASCII Compatible Encoding (ACE) via IDNA. A mechanism to define Top-Level Domain (TLD) specific validation tables, and to compare strings against those tables, as well as default tables for some TLDs are included.

Last updated on 2019-02-15 15:58:29 -0600

- Prev

  libical-3.0.4

- Next

  libidn2-2.1.1

- Up
- Home