source: BOOK/temp-system/common/gettext.xml@ aecd184

systemd
Last change on this file since aecd184 was 9258cf76, checked in by William Harrington <kb0iic@…>, 9 years ago

Edit systemd temp-system gettext not like sysvinit as we include attr acl with the systemd book.

  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-temp-system-gettext" role="wrap">
9 <?dbhtml filename="gettext.html"?>
10
11 <title>Gettext-&gettext-version;</title>
12
13 <indexterm zone="ch-temp-system-gettext">
14 <primary sortas="a-Gettext">Gettext</primary>
15 <secondary>temporary system</secondary>
16 </indexterm>
17
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[d0c5f50]19 href="../../final-system/common/gettext.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of Gettext</title>
24
[9258cf76]25 <para os="i">Many packages' installation procedures use the
[21f0998]26 <command>msgfmt</command> program for i18n support, so we will compile
[99b3058]27 and install it into <filename class="directory">/tools</filename>.
28 Attr also needs <command>msgmerge</command> and <command>xgettext</command>,
29 so we will install those as well.</para>
[21f0998]30
[9258cf76]31 <para os="a">Only the programs in the
[3fc19cd]32 <filename class="directory">gettext-tools</filename> directory need to be
33 installed for the temp-system:</para>
[3f8be484]34
[9258cf76]35<screen os="b"><userinput>cd gettext-tools</userinput></screen>
[3f8be484]36
[9258cf76]37 <para os="c">Prepare Gettext for compilation:</para>
[3f8be484]38
[9258cf76]39<screen os="d"><userinput>EMACS="no" ./configure --prefix=/tools \
[09c4c90]40 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
[9258cf76]41 --disable-shared</userinput></screen>
[3f8be484]42
[9258cf76]43 <variablelist os="e">
44 <title>The meaning of the new configure options:</title>
[f0fbe77]45
46 <varlistentry>
47 <term><parameter>EMACS="no"</parameter></term>
48 <listitem>
[9258cf76]49 <para>Prevents the configure script from installing Emacs Lisp files
[f0fbe77]50 as the test is known to hang on some hosts.</para>
51 </listitem>
52 </varlistentry>
53
54 </variablelist>
55
[9258cf76]56 <para os="f">Compile the required programs and support library:</para>
[3f8be484]57
[9258cf76]58<screen os="g"><userinput>make -C gnulib-lib
[f0fbe77]59make -C intl pluralx.c
[565a6cb]60make -C src msgfmt msgmerge xgettext</userinput></screen>
[3f8be484]61
[9258cf76]62 <para os="h">Install the <command>msgfmt</command>,
[565a6cb]63 <command>msgmerge</command> and <command>xgettext</command> binaries:</para>
[3f8be484]64
[9258cf76]65<screen os="i"><userinput>cp -v src/{msgfmt,msgmerge,xgettext} /tools/bin</userinput></screen>
[3f8be484]66
67 </sect2>
68
69 <sect2 role="content">
70 <title/>
71
72 <para>Details on this package are located in <xref
73 linkend="contents-gettext" role="."/></para>
74
75 </sect2>
76
77</sect1>
Note: See TracBrowser for help on using the repository browser.