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