Xi Ruoyao 8f5b4a7910 gettext: Remove useless sed
The second expression

    's/xmlError *err/const &/'

does nothing, because " *" actually matches zero, one, or several white
spaces, not a white space and an asterisk.

And the first expression

    '/libxml\/xmlerror.h/i #include <libxml/xmlversion.h>'

includes a header, but we are not using anything in the header.

The intention of the sed command is fix a compatibility issue with
system libxml, but LFS does not have a system libxml so the fix is not
needed for LFS.  And, if we just fix up the second expression to

    's/xmlError \*err/const &/'

making it actually work, it'll cause a FTBFS with shipped libxml (used
in LFS because system does not have libxml), so we cannot easily fix it
either.

For now just remove the sed.  If gettext-0.23.1 isn't released before
LFS 12.3 freeze, we can either apply the upstream patch to make it work
for both shipped libxml and system libxml, or add the corrected sed with
"nodump" and some alarming texts.
2024-12-17 21:26:26 +08:00
2024-12-15 16:57:03 -06:00
2024-12-12 14:37:56 +08:00
2024-08-29 10:02:14 -05:00
2024-06-30 10:40:41 -05:00
2024-12-17 21:26:26 +08:00
2024-12-06 17:05:02 +08:00
2024-12-06 17:05:02 +08:00
2024-08-25 15:37:34 +08:00
2024-08-23 14:01:06 -05:00
2023-09-13 14:10:38 +08:00
2024-08-23 14:01:06 -05:00
2024-12-12 14:37:56 +08:00
2024-08-25 15:37:34 +08:00
2023-08-03 22:55:17 +08:00
2024-12-16 11:54:48 -06:00
2024-11-08 13:24:58 -06:00
2021-09-07 23:10:29 +02:00
2021-09-07 23:05:44 +02:00
2023-11-23 20:59:52 +01:00

LFS Book README

This document is meant to instruct the user on how to convert the book's XML
source to other formats (e.g. HTML, PDF, PS and TXT).  First, if you have not
already done so, please read the INSTALL file for instructions on how to install
the required software.  If you have already completed the steps outlined in the
INSTALL file, then continue reading for examples how to convert these files into
various other formats.

In all examples, setting the parameter REV=systemd is needed to build the
systemd version of the book.

XML to XHTML:
-------------
make BASEDIR=/path/to/output/location


XML to single file XHTML (nochunks):
------------------------------------
make BASEDIR=/path/to/output/location nochunks

XML to TXT
----------
Follow the instructions for nochunks and then run:
lynx -dump /path/to/nochunks >/path/to/output

XML to PDF:
-----------
make BASEDIR=/path/to/output/location pdf


Description
No description provided
Readme 25 MiB
Languages
XSLT 51.7%
Shell 31%
PHP 4.9%
Makefile 4.1%
Python 3.7%
Other 4.6%