aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2012-12-30 08:30:29 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2012-12-30 08:30:29 +0000
commit43886b744b9b598ade9b93288738299dbbaee061 (patch)
treef6b81606c84b3ad2a22bd3e5f6ba30d66ad970ef /chapter06
parentcb476d52146df0112d4b1b72dfc405905f2d1a03 (diff)
Upgrade to Kbd-1.15.5. Fixes #3239.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10086 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/kbd.xml40
1 files changed, 13 insertions, 27 deletions
diff --git a/chapter06/kbd.xml b/chapter06/kbd.xml
index 1b24c6bfa..ea4fdffc5 100644
--- a/chapter06/kbd.xml
+++ b/chapter06/kbd.xml
@@ -5,9 +5,6 @@
%general-entities;
]>
-<!-- FIXME: upstream git has been persuaded by SuSe to build resizecons on x86_64,
-so the sed will need attention if that change is not removed before the next release -->
-
<sect1 id="ch-system-kbd" role="wrap">
<?dbhtml filename="kbd.html"?>
@@ -44,11 +41,6 @@ so the sed will need attention if that change is not removed before the next rel
<sect2 role="installation">
<title>Installation of Kbd</title>
- <para>The behaviour of <command>loadkeys</command> when run without a
- filename was broken in this release. The following patch fixes this:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&kbd-fixes-patch;</userinput></screen>
-
<para>The behaviour of the Backspace and Delete keys is not consistent
across the keymaps in the Kbd package. The following patch fixes this
issue for i386 keymaps:</para>
@@ -58,29 +50,14 @@ so the sed will need attention if that change is not removed before the next rel
<para>After patching, the Backspace key generates the character with code 127,
and the Delete key generates a well-known escape sequence.</para>
- <para>Fix a bug in the Spanish message translations which prevents kbd from
- building with gettext-&gettext-version;:</para>
-
-<screen><userinput remap="pre">sed -i '/guardado\ el/s/\(^.*en\ %\)\(.*\)/\14\$\2/' po/es.po</userinput></screen>
-
- <para>Remove the redundant <command>resizecons</command> program (32-bit x86
- only, needs the defunct svgalib, which predates linux-2.6 and is incompatible
- with modern KMS, to provide the video mode files - for normal use
- <command>setfont</command> sizes the console appropriately) and its manpage.</para>
-
- <para>The shipped version of <filename>configure.ac</filename> is newer than
- <filename>aclocal.m4</filename>, so autotools will be run by <command>make</command>
- which will overwrite the change to <filename>configure</filename>. Alter the date
- and time of <filename>configure.ac</filename> - this uses the system timezone, so we
- pick a time that is sufficiently old in all timezones.</para>
+ <para>Fix a bug that causes some keymaps not to be loaded correctly:</para>
-<screen><userinput remap="pre">sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/' configure &amp;&amp;
-sed -i 's/resizecons.8 //' man/man8/Makefile.in &amp;&amp;
-touch -d '2011-05-07 08:30' configure.ac</userinput></screen>
+<screen><userinput remap="pre">sed -i -e '326 s/if/while/' src/loadkeys.analyze.l</userinput></screen>
<para>Prepare Kbd for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr --datadir=/lib/kbd</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr --datadir=/lib/kbd \
+ --disable-vlock</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
@@ -94,6 +71,15 @@ touch -d '2011-05-07 08:30' configure.ac</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>--disable-vlock</parameter></term>
+ <listitem>
+ <para>This option prevents the vlock utility from being built, as it
+ requires the PAM library, which isn't available in the chroot
+ environment.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Compile the package:</para>