source: general.ent@ 50836740

11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 50836740 was 50836740, checked in by Xi Ruoyao <xry111@…>, 3 years ago

merge conditional XML from LFS

There was some consistency issues in URLs to LFS. For example, in
systemd revision the URL to LFS "General Network Configuration" points
to the sysv book, this can be really troubling to new readers.

Instead of fixing them one by one, merge conditional XML developed by
Pierre from LFS.

  • Property mode set to 100644
File size: 8.2 KB
Line 
1<!-- Editing up to the line of ==== should be enough
2 to generate a book for development, release, or rc-->
3<!ENTITY % development "INCLUDE"><!-- set to INCLUDE for development,
4 set to IGNORE for release or rc -->
5<!ENTITY % release "IGNORE"> <!-- set to INCLUDE for release,
6 set to IGNORE for development or rc -->
7<!ENTITY % relyear "2022">
8<!ENTITY % relnum "11.1">
9<!ENTITY % reldate "March 1st, 2022">
10<!ENTITY % relpubdate "2022-03-01">
11<!-- ================================================================== -->
12<!-- Do not change anything below unless the www or book layouts change -->
13
14<!-- Automatically generated by git-version.sh. Used for release or dev -->
15<!ENTITY % conditional-entities SYSTEM "conditional.ent">
16%conditional-entities;
17
18<![ %development; [
19<!-- version info automatically generated by git -->
20<!ENTITY % version-entities SYSTEM "version.ent">
21%version-entities;
22<![ %sysv; [
23<!ENTITY lfs-version "development">
24<!ENTITY blfs-version "svn">
25]]>
26<![ %systemd; [
27<!ENTITY lfs-version "systemd">
28<!ENTITY blfs-version "systemd">
29]]>
30]]><!-- End %development -->
31
32<![ %release; [
33<![ %sysv; [
34<!ENTITY lfs-version "%relnum;">
35<!ENTITY blfs-version "%relnum;">
36]]>
37<![ %systemd; [
38<!ENTITY lfs-version "%relnum;-systemd">
39<!ENTITY blfs-version "%relnum;-systemd">
40]]>
41
42<!ENTITY year "%relyear;">
43<!ENTITY version "%relnum">
44<!ENTITY releasedate "%reldate;">
45<!ENTITY pubdate "%relpubdate;">
46]]><!-- End %release -->
47
48<!ENTITY copyrightdate "1999-&year;">
49<!ENTITY copyholder "The BLFS Development Team">
50<!ENTITY lfs-domainname "linuxfromscratch.org">
51
52<!ENTITY maintainer-fullname "The BLFS Team">
53<!ENTITY maintainer-firstname "BLFS">
54<!ENTITY maintainer-address "blfs-maintainer@&lfs-domainname;">
55
56
57<!ENTITY lfs-website "https://www.&lfs-domainname;">
58<!-- downloads_root must have an entity because it is needed for scripts
59 change svn to x.y for release. Note: s/_/-/ in comment to avoid grep error
60 Update 'downloads-root-systemd' to x.y-systemd
61 -->
62<!ENTITY downloads-root "https://www.linuxfromscratch.org/blfs/downloads/svn">
63<!ENTITY downloads-root-systemd "https://www.linuxfromscratch.org/blfs/downloads/systemd">
64<!ENTITY downloads-project "https://downloads.&lfs-domainname;">
65
66<!ENTITY sources-anduin-http "https://anduin.linuxfromscratch.org/BLFS">
67<!ENTITY sources-anduin-ftp "ftp://anduin.linuxfromscratch.org/BLFS">
68
69<!ENTITY hints-root "https://www.&lfs-domainname;/hints">
70<!ENTITY patch-downloads "https://www.linuxfromscratch.org/patches/downloads">
71<!ENTITY patch-root "https://www.&lfs-domainname;/patches/blfs/svn">
72<!ENTITY errata "https://www.&lfs-domainname;/blfs/errata/&blfs-version;/">
73<!ENTITY blfs-ticket-root "https://wiki.&lfs-domainname;/blfs/ticket/">
74
75<!ENTITY lfs-root "../../../../lfs/view/&lfs-version;">
76<!ENTITY lfs-dev "../../../../lfs/view/development">
77<!ENTITY gnu-http "https://ftp.gnu.org/gnu">
78<!ENTITY gnu-ftp "ftp://ftp.gnu.org/gnu">
79<!ENTITY gnupg-http "https://www.gnupg.org/ftp/gcrypt">
80<!ENTITY gnupg-ftp "ftp://ftp.gnupg.org/gcrypt">
81<!ENTITY gstreamer-dl "https://gstreamer.freedesktop.org/src">
82<!ENTITY kernel-dl "https://www.kernel.org/pub">
83<!ENTITY mozilla-http "https://archive.mozilla.org/pub">
84<!ENTITY mozilla-hg "https://hg.mozilla.org/releases/mozilla-release/archive/">
85<!ENTITY perl_authors "https://www.cpan.org/authors">
86<!ENTITY metacpan_authors "https://cpan.metacpan.org/authors/id">
87<!ENTITY pymodules-dl "https://files.pythonhosted.org/packages/source">
88<!ENTITY sourceforge-dl "https://downloads.sourceforge.net">
89
90<!ENTITY gentoo-ftp-repo "ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles">
91<!ENTITY fedora-http-repo "http://pkgs.fedoraproject.org/repo/pkgs">
92<!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
93<!ENTITY lxqt-http-repo "http://downloads.lxqt.org/lxqt">
94<!ENTITY publisher "Unknown">
95<!ENTITY xorg-download-http "https://www.x.org/pub/individual">
96<!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual">
97<!ENTITY pypi "https://pypi.python.org/pypi">
98<!ENTITY appstream-glib-url "http://people.freedesktop.org/~hughsient/appstream-glib/releases">
99<!ENTITY elinks-url "http://elinks.or.cz">
100<!ENTITY w3m-url "http://w3m.sourceforge.net/">
101
102<!-- These entities are used to identify versions of LFS
103 packages referenced throughout the BLFS book. -->
104<!ENTITY lfs-autoconf-version "2.69">
105<!ENTITY lfs-coreutils-version "8.23">
106<!ENTITY lfs-e2fsprogs-version "1.42.11">
107<!ENTITY lfs-flex-version "2.5.39">
108<!ENTITY lfs-gcc-version "4.9.1">
109<!ENTITY lfs-gdbm-version "1.11">
110<!ENTITY lfs-m4-version "1.4.17">
111<!-- FIXME - please check the included version of
112 List/Utils when upgrading the perl version.
113 Scalar-List-Utils is in perl-deps because List-AllUtils
114 needs a newer version at runtime than is in 5.34.0 -->
115<!ENTITY lfs-perl-version "5.34"> <!-- used in git -->
116<!-- this was originally the perl version used by the corresponding
117 version of lfs, in those days always for i686, but now BLFS is a rolling
118 release. \-\->
119<!ENTITY lfs-perl-version "&lt;5.x.y&gt;/&lt;arch-linux&gt;">-->
120<!ENTITY lfs-shadow-version "4.2.1">
121<!ENTITY lfs-vim-version "7.4">
122<!-- End LFS versions -->
123
124<!ENTITY blfs-bootscripts-version "20210826">
125<!ENTITY systemd-units-version "20210819">
126
127<!ENTITY blfs-wiki "https://wiki.&lfs-domainname;/blfs/wiki">
128
129<!-- These entities are used to annotate the current status of a package as it
130 relates to the version of LFS it will build/work against -->
131
132<!ENTITY lfs110a_checked "<para>This package is known to build and work
133 properly using an LFS-11.0 platform.</para>">
134<!--
135<!ENTITY lfs110a_built "<para>This package is known to build using an LFS
136 11.0 platform but has not been tested.</para>">
137-->
138<!-- End special entities about LFS compatibility -->
139
140<!ENTITY as_root "<note><para>When installing multiple packages in a script,
141 the installation needs to be done as the root user. There are three general
142 options that can be used to do this:</para>
143
144 <orderedlist>
145
146 <listitem><para>Run the entire script as the root user (not
147 recommended).</para></listitem>
148
149 <listitem><para>Use the <command>sudo</command> command from the <xref
150 linkend='sudo'/> package.</para></listitem>
151
152 <listitem><para>Use <command>su -c &quot;command arguments&quot;</command>
153 (quotes required) which will ask for the root password for every iteration
154 of the loop.</para></listitem>
155
156 </orderedlist>
157
158 <para>One way to handle this situation is to create a short
159 <command>bash</command> function that automatically selects the appropriate
160 method. Once the command is set in the environment, it does not need to be
161 set again.</para>
162
163 <screen><userinput>as_root()
164{
165 if [ $EUID = 0 ]; then $*
166 elif [ -x /usr/bin/sudo ]; then sudo $*
167 else su -c \\&quot;$*\\&quot;
168 fi
169}
170
171export -f as_root</userinput></screen>
172</note>">
173
174<!ENTITY not-katamari "<para>This package is not a part of the Xorg
175 katamari and is provided only as a dependency to
176 other packages or for testing the completed Xorg
177 installation.</para>">
178
179<!ENTITY % package-entities SYSTEM "packages.ent">
180%package-entities;
181
182<!ENTITY parallel_issues "<note><para>This package may occasionally fail when
183 building with multiple processors. See <xref
184 linkend='parallel-builds'/> for more information.</para></note>">
185
186<!ENTITY shell-env "<note><para>If installing in the chroot environment, be
187 sure to export the <envar>SHELL</envar> environment
188 variable or configuration of the package will
189 fail.</para></note>">
190
Note: See TracBrowser for help on using the repository browser.