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 "2023">
|
---|
8 | <!ENTITY % relnum "11.3">
|
---|
9 | <!ENTITY % reldate "March 1st, 2023">
|
---|
10 | <!ENTITY % relpubdate "2023-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 | <!ENTITY patch-version "svn">
|
---|
26 | ]]>
|
---|
27 | <![ %systemd; [
|
---|
28 | <!ENTITY lfs-version "systemd">
|
---|
29 | <!ENTITY blfs-version "systemd">
|
---|
30 | <!ENTITY patch-version "svn">
|
---|
31 | ]]>
|
---|
32 | ]]><!-- End %development -->
|
---|
33 |
|
---|
34 | <![ %release; [
|
---|
35 | <![ %sysv; [
|
---|
36 | <!ENTITY lfs-version "%relnum;">
|
---|
37 | <!ENTITY blfs-version "%relnum;">
|
---|
38 | <!ENTITY patch-version "%relnum;">
|
---|
39 | ]]>
|
---|
40 | <![ %systemd; [
|
---|
41 | <!ENTITY lfs-version "%relnum;-systemd">
|
---|
42 | <!ENTITY blfs-version "%relnum;-systemd">
|
---|
43 | <!ENTITY patch-version "%relnum;">
|
---|
44 | ]]>
|
---|
45 |
|
---|
46 | <!ENTITY year "%relyear;">
|
---|
47 | <!ENTITY version "%relnum;">
|
---|
48 | <!ENTITY releasedate "%reldate;">
|
---|
49 | <!ENTITY pubdate "%relpubdate;">
|
---|
50 | ]]><!-- End %release -->
|
---|
51 |
|
---|
52 | <!ENTITY copyrightdate "1999-&year;">
|
---|
53 | <!ENTITY copyholder "The BLFS Development Team">
|
---|
54 | <!ENTITY lfs-domainname "linuxfromscratch.org">
|
---|
55 |
|
---|
56 | <!ENTITY maintainer-fullname "The BLFS Team">
|
---|
57 | <!ENTITY maintainer-firstname "BLFS">
|
---|
58 | <!ENTITY maintainer-address "blfs-maintainer@&lfs-domainname;">
|
---|
59 |
|
---|
60 |
|
---|
61 | <!ENTITY lfs-website "https://www.&lfs-domainname;">
|
---|
62 | <!-- downloads_root must have an entity because it is needed for scripts
|
---|
63 | Note: s/_/-/ in comment to avoid grep error
|
---|
64 | It is also needed for systemd units
|
---|
65 | -->
|
---|
66 | <!ENTITY downloads-root "&lfs-website;/blfs/downloads/&blfs-version;">
|
---|
67 | <!--<!ENTITY downloads-root-systemd "https://www.linuxfromscratch.org/blfs/downloads/systemd">
|
---|
68 | <!ENTITY downloads-project "https://downloads.&lfs-domainname;">-->
|
---|
69 |
|
---|
70 | <!ENTITY sources-anduin-http "https://anduin.linuxfromscratch.org/BLFS">
|
---|
71 | <!ENTITY sources-anduin-ftp "ftp://anduin.linuxfromscratch.org/BLFS">
|
---|
72 |
|
---|
73 | <!ENTITY hints-root "https://www.&lfs-domainname;/hints">
|
---|
74 | <!ENTITY patch-downloads "https://www.linuxfromscratch.org/patches/downloads">
|
---|
75 | <!ENTITY patch-root "https://www.&lfs-domainname;/patches/blfs/&patch-version;">
|
---|
76 | <!ENTITY errata "https://www.&lfs-domainname;/blfs/errata/&blfs-version;/">
|
---|
77 | <!ENTITY blfs-ticket-root "https://wiki.&lfs-domainname;/blfs/ticket/">
|
---|
78 |
|
---|
79 | <!ENTITY lfs-root "../../../../lfs/view/&lfs-version;">
|
---|
80 | <!ENTITY lfs-dev "../../../../lfs/view/development">
|
---|
81 | <!ENTITY lfs-ticket-root "https://wiki.&lfs-domainname;/lfs/ticket/">
|
---|
82 | <!ENTITY gnu-http "https://ftp.gnu.org/gnu">
|
---|
83 | <!ENTITY gnu-ftp "ftp://ftp.gnu.org/gnu">
|
---|
84 | <!ENTITY gnupg-http "https://www.gnupg.org/ftp/gcrypt">
|
---|
85 | <!ENTITY gnupg-ftp "ftp://ftp.gnupg.org/gcrypt">
|
---|
86 | <!ENTITY gstreamer-dl "https://gstreamer.freedesktop.org/src">
|
---|
87 | <!ENTITY kernel-dl "https://www.kernel.org/pub">
|
---|
88 | <!ENTITY mozilla-http "https://archive.mozilla.org/pub">
|
---|
89 | <!ENTITY mozilla-hg "https://hg.mozilla.org/releases/mozilla-release/archive/">
|
---|
90 | <!ENTITY perl_authors "https://www.cpan.org/authors">
|
---|
91 | <!ENTITY metacpan_authors "https://cpan.metacpan.org/authors/id">
|
---|
92 | <!ENTITY pymodules-dl "https://files.pythonhosted.org/packages/source">
|
---|
93 | <!ENTITY sourceforge-dl "https://downloads.sourceforge.net">
|
---|
94 |
|
---|
95 | <!ENTITY fedora-http-repo "http://pkgs.fedoraproject.org/repo/pkgs">
|
---|
96 | <!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
|
---|
97 | <!ENTITY lxqt-http-repo "http://downloads.lxqt.org/lxqt">
|
---|
98 | <!ENTITY publisher "Unknown">
|
---|
99 | <!ENTITY xorg-download-http "https://www.x.org/pub/individual">
|
---|
100 | <!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual">
|
---|
101 | <!ENTITY pypi "https://pypi.python.org/pypi">
|
---|
102 | <!ENTITY appstream-glib-url "http://people.freedesktop.org/~hughsient/appstream-glib/releases">
|
---|
103 | <!ENTITY elinks-url "http://elinks.or.cz">
|
---|
104 | <!ENTITY w3m-url "http://w3m.sourceforge.net/">
|
---|
105 | <!ENTITY sysprof-url "https://wiki.gnome.org/Apps/Sysprof">
|
---|
106 | <!ENTITY man "https://man.archlinux.org/man/">
|
---|
107 |
|
---|
108 | <!ENTITY python2 "<ulink url='https://www.python.org/downloads/release/python-2718/'>Python2</ulink>">
|
---|
109 |
|
---|
110 | <!ENTITY gtk2 "<ulink url='https://download.gnome.org/sources/gtk+/2.24/'>GTK+-2</ulink>">
|
---|
111 |
|
---|
112 | <!-- Convenience entities -->
|
---|
113 | <!ENTITY root "<systemitem class='username'>root</systemitem>">
|
---|
114 | <!ENTITY gi-docgen-url "https://gnome.pages.gitlab.gnome.org/gi-docgen/">
|
---|
115 |
|
---|
116 | <!-- These entities are used to identify versions of LFS
|
---|
117 | packages referenced throughout the BLFS book. -->
|
---|
118 |
|
---|
119 | <!ENTITY lfs-perl-version "5.40"> <!-- used in git -->
|
---|
120 |
|
---|
121 | <!-- End LFS versions -->
|
---|
122 |
|
---|
123 | <!ENTITY blfs-bootscripts-version "20240416">
|
---|
124 | <!ENTITY systemd-units-version "20240801">
|
---|
125 |
|
---|
126 | <!ENTITY blfs-wiki "https://wiki.&lfs-domainname;/blfs/wiki">
|
---|
127 |
|
---|
128 | <!-- These entities are used to annotate the current status of a package as it
|
---|
129 | relates to the version of LFS it will build/work against -->
|
---|
130 |
|
---|
131 | <!ENTITY lfs121_checked "<note><para>Development versions of BLFS may not build or run
|
---|
132 | some packages properly if LFS or dependencies have been updated
|
---|
133 | since the most recent stable versions of the books.</para></note>">
|
---|
134 |
|
---|
135 | <!--<!ENTITY lfs121_checked "<para>This package is known to build and work properly
|
---|
136 | using an LFS 12.1 platform.</para>">-->
|
---|
137 |
|
---|
138 |
|
---|
139 | <!-- End special entities about LFS compatibility -->
|
---|
140 |
|
---|
141 | <!ENTITY as_root "<note><para>When installing multiple packages in a script,
|
---|
142 | the installation needs to be done as the root user. There are three general
|
---|
143 | options that can be used to do this:</para>
|
---|
144 |
|
---|
145 | <orderedlist>
|
---|
146 |
|
---|
147 | <listitem><para>Run the entire script as the root user (not
|
---|
148 | recommended).</para></listitem>
|
---|
149 |
|
---|
150 | <listitem><para>Use the <command>sudo</command> command from the <xref
|
---|
151 | linkend='sudo'/> package.</para></listitem>
|
---|
152 |
|
---|
153 | <listitem><para>Use <command>su -c "command arguments"</command>
|
---|
154 | (quotes required) which will ask for the root password for every iteration
|
---|
155 | of the loop.</para></listitem>
|
---|
156 |
|
---|
157 | </orderedlist>
|
---|
158 |
|
---|
159 | <para>One way to handle this situation is to create a short
|
---|
160 | <command>bash</command> function that automatically selects the appropriate
|
---|
161 | method. Once the command is set in the environment, it does not need to be
|
---|
162 | set again.</para>
|
---|
163 |
|
---|
164 | <screen><userinput>as_root()
|
---|
165 | {
|
---|
166 | if [ $EUID = 0 ]; then $*
|
---|
167 | elif [ -x /usr/bin/sudo ]; then sudo $*
|
---|
168 | else su -c \\"$*\\"
|
---|
169 | fi
|
---|
170 | }
|
---|
171 |
|
---|
172 | export -f as_root</userinput></screen>
|
---|
173 | </note>">
|
---|
174 |
|
---|
175 | <!ENTITY not-katamari "<para>This package is provided for testing the
|
---|
176 | completed Xorg installation.</para>">
|
---|
177 |
|
---|
178 | <!ENTITY % package-entities SYSTEM "packages.ent">
|
---|
179 | %package-entities;
|
---|
180 |
|
---|
181 | <!ENTITY parallel_issues "<note><para>This package may occasionally fail when
|
---|
182 | building with multiple processors. See <xref
|
---|
183 | linkend='parallel-builds'/> for more information.</para></note>">
|
---|
184 |
|
---|
185 | <!ENTITY shell-env "<note><para>If installing in the chroot environment, be
|
---|
186 | sure to export the <envar>SHELL</envar> environment
|
---|
187 | variable or configuration of the package will
|
---|
188 | fail.</para></note>">
|
---|
189 |
|
---|
190 | <!ENTITY gi-doc-disable
|
---|
191 | "Allow building this package without <xref linkend='gi-docgen'/>
|
---|
192 | installed. If you have <xref linkend='gi-docgen'/> installed and
|
---|
193 | you wish to rebuild and install the API documentation, a
|
---|
194 | <command>meson configure</command> command will reset this
|
---|
195 | option.">
|
---|
196 |
|
---|
197 | <!ENTITY build-use-internet
|
---|
198 | "<note><para>An Internet connection is needed for building this
|
---|
199 | package.</para></note>">
|
---|
200 |
|
---|
201 | <!ENTITY test-use-internet
|
---|
202 | "<note><para>An Internet connection is needed for some tests of
|
---|
203 | this package.</para></note>">
|
---|
204 |
|
---|
205 | <!ENTITY logind
|
---|
206 | "<phrase revision='sysv'><xref linkend='elogind'/></phrase>
|
---|
207 | <phrase revision='systemd'><xref linkend='systemd'/></phrase>">
|
---|
208 |
|
---|
209 | <!--<!ENTITY qt5-deps
|
---|
210 | "(<xref linkend='qt5'/> or <xref role='nodep' linkend='qt5-alternate'/>)">-->
|
---|
211 |
|
---|
212 | <!ENTITY qt5-deps "<xref linkend='qt5-components'/>">
|
---|
213 |
|
---|
214 | <!ENTITY build-wheel-cmd "pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir">
|
---|
215 | <!ENTITY build-wheel "<screen><userinput>&build-wheel-cmd; $PWD</userinput></screen>">
|
---|
216 |
|
---|
217 | <!ENTITY install-wheel "pip3 install --no-index --find-links=dist --no-cache-dir --no-user">
|
---|
218 |
|
---|
219 | <!ENTITY berkeley-db "<ulink url='https://anduin.linuxfromscratch.org/BLFS/bdb/db-5.3.28.tar.gz'>Berkeley DB</ulink> (deprecated)">
|
---|
220 |
|
---|
221 | <!ENTITY gobject-introspection "<xref linkend='glib2'/> (with GObject Introspection)">
|
---|