2021-10-17 03:53:42 +08:00
|
|
|
<!-- Editing up to the line of ==== should be enough
|
|
|
|
to generate a book for development, release, or rc-->
|
|
|
|
<!ENTITY % development "INCLUDE"><!-- set to INCLUDE for development,
|
|
|
|
set to IGNORE for release or rc -->
|
|
|
|
<!ENTITY % release "IGNORE"> <!-- set to INCLUDE for release,
|
|
|
|
set to IGNORE for development or rc -->
|
|
|
|
<!ENTITY % relyear "2022">
|
|
|
|
<!ENTITY % relnum "11.1">
|
|
|
|
<!ENTITY % reldate "March 1st, 2022">
|
|
|
|
<!ENTITY % relpubdate "2022-03-01">
|
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- Do not change anything below unless the www or book layouts change -->
|
|
|
|
|
|
|
|
<!-- Automatically generated by git-version.sh. Used for release or dev -->
|
|
|
|
<!ENTITY % conditional-entities SYSTEM "conditional.ent">
|
|
|
|
%conditional-entities;
|
|
|
|
|
|
|
|
<![ %development; [
|
|
|
|
<!-- version info automatically generated by git -->
|
2021-04-15 17:31:50 +08:00
|
|
|
<!ENTITY % version-entities SYSTEM "version.ent">
|
|
|
|
%version-entities;
|
2021-10-17 03:53:42 +08:00
|
|
|
<![ %sysv; [
|
|
|
|
<!ENTITY lfs-version "development">
|
|
|
|
<!ENTITY blfs-version "svn">
|
|
|
|
]]>
|
|
|
|
<![ %systemd; [
|
|
|
|
<!ENTITY lfs-version "systemd">
|
|
|
|
<!ENTITY blfs-version "systemd">
|
|
|
|
]]>
|
|
|
|
]]><!-- End %development -->
|
|
|
|
|
|
|
|
<![ %release; [
|
|
|
|
<![ %sysv; [
|
|
|
|
<!ENTITY lfs-version "%relnum;">
|
|
|
|
<!ENTITY blfs-version "%relnum;">
|
|
|
|
]]>
|
|
|
|
<![ %systemd; [
|
|
|
|
<!ENTITY lfs-version "%relnum;-systemd">
|
|
|
|
<!ENTITY blfs-version "%relnum;-systemd">
|
|
|
|
]]>
|
|
|
|
|
|
|
|
<!ENTITY year "%relyear;">
|
|
|
|
<!ENTITY version "%relnum">
|
|
|
|
<!ENTITY releasedate "%reldate;">
|
|
|
|
<!ENTITY pubdate "%relpubdate;">
|
|
|
|
]]><!-- End %release -->
|
2021-04-15 17:31:50 +08:00
|
|
|
|
2021-10-17 03:53:42 +08:00
|
|
|
<!ENTITY copyrightdate "1999-&year;">
|
|
|
|
<!ENTITY copyholder "The BLFS Development Team">
|
|
|
|
<!ENTITY lfs-domainname "linuxfromscratch.org">
|
2005-05-22 20:47:24 +08:00
|
|
|
|
2012-07-05 00:44:27 +08:00
|
|
|
<!ENTITY maintainer-fullname "The BLFS Team">
|
|
|
|
<!ENTITY maintainer-firstname "BLFS">
|
2012-02-06 13:15:51 +08:00
|
|
|
<!ENTITY maintainer-address "blfs-maintainer@&lfs-domainname;">
|
2007-01-17 20:57:47 +08:00
|
|
|
|
2015-07-25 07:55:27 +08:00
|
|
|
|
2021-05-01 19:14:53 +08:00
|
|
|
<!ENTITY lfs-website "https://www.&lfs-domainname;">
|
2015-10-20 00:25:37 +08:00
|
|
|
<!-- downloads_root must have an entity because it is needed for scripts
|
2021-09-07 01:42:49 +08:00
|
|
|
change svn to x.y for release. Note: s/_/-/ in comment to avoid grep error
|
2016-08-02 11:30:29 +08:00
|
|
|
Update 'downloads-root-systemd' to x.y-systemd
|
|
|
|
-->
|
2021-04-23 19:00:10 +08:00
|
|
|
<!ENTITY downloads-root "https://www.linuxfromscratch.org/blfs/downloads/svn">
|
|
|
|
<!ENTITY downloads-root-systemd "https://www.linuxfromscratch.org/blfs/downloads/systemd">
|
2021-05-01 19:14:53 +08:00
|
|
|
<!ENTITY downloads-project "https://downloads.&lfs-domainname;">
|
2015-10-12 04:28:40 +08:00
|
|
|
|
2021-05-25 01:54:08 +08:00
|
|
|
<!ENTITY sources-anduin-http "https://anduin.linuxfromscratch.org/BLFS">
|
2015-10-12 04:28:40 +08:00
|
|
|
<!ENTITY sources-anduin-ftp "ftp://anduin.linuxfromscratch.org/BLFS">
|
|
|
|
|
2021-05-01 19:14:53 +08:00
|
|
|
<!ENTITY hints-root "https://www.&lfs-domainname;/hints">
|
2021-04-23 19:00:10 +08:00
|
|
|
<!ENTITY patch-downloads "https://www.linuxfromscratch.org/patches/downloads">
|
2021-05-01 19:14:53 +08:00
|
|
|
<!ENTITY patch-root "https://www.&lfs-domainname;/patches/blfs/svn">
|
|
|
|
<!ENTITY errata "https://www.&lfs-domainname;/blfs/errata/&blfs-version;/">
|
|
|
|
<!ENTITY blfs-ticket-root "https://wiki.&lfs-domainname;/blfs/ticket/">
|
2015-10-12 04:28:40 +08:00
|
|
|
|
2007-01-17 20:57:47 +08:00
|
|
|
<!ENTITY lfs-root "../../../../lfs/view/&lfs-version;">
|
2010-03-24 10:13:27 +08:00
|
|
|
<!ENTITY lfs-dev "../../../../lfs/view/development">
|
2017-08-16 02:49:48 +08:00
|
|
|
<!ENTITY gnu-http "https://ftp.gnu.org/gnu">
|
|
|
|
<!ENTITY gnu-ftp "ftp://ftp.gnu.org/gnu">
|
|
|
|
<!ENTITY gnupg-http "https://www.gnupg.org/ftp/gcrypt">
|
2017-11-25 18:02:34 +08:00
|
|
|
<!ENTITY gnupg-ftp "ftp://ftp.gnupg.org/gcrypt">
|
2016-11-23 05:53:36 +08:00
|
|
|
<!ENTITY gstreamer-dl "https://gstreamer.freedesktop.org/src">
|
2017-08-16 02:49:48 +08:00
|
|
|
<!ENTITY kernel-dl "https://www.kernel.org/pub">
|
|
|
|
<!ENTITY mozilla-http "https://archive.mozilla.org/pub">
|
2018-03-14 06:12:24 +08:00
|
|
|
<!ENTITY mozilla-hg "https://hg.mozilla.org/releases/mozilla-release/archive/">
|
2018-11-18 07:06:15 +08:00
|
|
|
<!ENTITY perl_authors "https://www.cpan.org/authors">
|
|
|
|
<!ENTITY metacpan_authors "https://cpan.metacpan.org/authors/id">
|
2017-08-16 02:49:48 +08:00
|
|
|
<!ENTITY pymodules-dl "https://files.pythonhosted.org/packages/source">
|
|
|
|
<!ENTITY sourceforge-dl "https://downloads.sourceforge.net">
|
|
|
|
|
2018-05-08 10:30:45 +08:00
|
|
|
<!ENTITY gentoo-ftp-repo "ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/distfiles">
|
2014-08-18 08:05:56 +08:00
|
|
|
<!ENTITY fedora-http-repo "http://pkgs.fedoraproject.org/repo/pkgs">
|
2013-05-13 00:46:18 +08:00
|
|
|
<!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
|
2015-07-17 20:53:48 +08:00
|
|
|
<!ENTITY lxqt-http-repo "http://downloads.lxqt.org/lxqt">
|
2007-01-17 20:57:47 +08:00
|
|
|
<!ENTITY publisher "Unknown">
|
2017-03-31 00:19:18 +08:00
|
|
|
<!ENTITY xorg-download-http "https://www.x.org/pub/individual">
|
2012-07-11 01:04:23 +08:00
|
|
|
<!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual">
|
2017-02-05 05:52:53 +08:00
|
|
|
<!ENTITY pypi "https://pypi.python.org/pypi">
|
2017-08-16 21:54:05 +08:00
|
|
|
<!ENTITY appstream-glib-url "http://people.freedesktop.org/~hughsient/appstream-glib/releases">
|
2018-12-24 06:28:27 +08:00
|
|
|
<!ENTITY elinks-url "http://elinks.or.cz">
|
2019-04-21 02:59:41 +08:00
|
|
|
<!ENTITY w3m-url "http://w3m.sourceforge.net/">
|
2004-06-10 10:40:59 +08:00
|
|
|
|
2006-03-28 07:17:00 +08:00
|
|
|
<!-- These entities are used to identify versions of LFS
|
2007-09-07 03:24:00 +08:00
|
|
|
packages referenced throughout the BLFS book. -->
|
2014-04-29 14:09:41 +08:00
|
|
|
<!ENTITY lfs-autoconf-version "2.69">
|
2014-07-23 04:40:48 +08:00
|
|
|
<!ENTITY lfs-coreutils-version "8.23">
|
|
|
|
<!ENTITY lfs-e2fsprogs-version "1.42.11">
|
2014-04-29 14:09:41 +08:00
|
|
|
<!ENTITY lfs-flex-version "2.5.39">
|
2014-07-23 04:40:48 +08:00
|
|
|
<!ENTITY lfs-gcc-version "4.9.1">
|
2014-04-29 14:09:41 +08:00
|
|
|
<!ENTITY lfs-gdbm-version "1.11">
|
|
|
|
<!ENTITY lfs-m4-version "1.4.17">
|
2021-07-31 03:30:42 +08:00
|
|
|
<!-- FIXME - please check the included version of
|
|
|
|
List/Utils when upgrading the perl version.
|
|
|
|
Scalar-List-Utils is in perl-deps because List-AllUtils
|
|
|
|
needs a newer version at runtime than is in 5.34.0 -->
|
2021-06-09 15:55:37 +08:00
|
|
|
<!ENTITY lfs-perl-version "5.34"> <!-- used in git -->
|
2012-07-28 23:39:53 +08:00
|
|
|
<!-- this was originally the perl version used by the corresponding
|
|
|
|
version of lfs, in those days always for i686, but now BLFS is a rolling
|
2020-08-10 19:03:11 +08:00
|
|
|
release. \-\->
|
|
|
|
<!ENTITY lfs-perl-version "<5.x.y>/<arch-linux>">-->
|
2014-05-15 04:59:56 +08:00
|
|
|
<!ENTITY lfs-shadow-version "4.2.1">
|
2013-08-12 02:19:39 +08:00
|
|
|
<!ENTITY lfs-vim-version "7.4">
|
2006-03-28 07:17:00 +08:00
|
|
|
<!-- End LFS versions -->
|
2004-06-10 10:40:59 +08:00
|
|
|
|
2021-08-27 04:22:06 +08:00
|
|
|
<!ENTITY blfs-bootscripts-version "20210826">
|
2021-11-24 01:19:54 +08:00
|
|
|
<!ENTITY systemd-units-version "20211123">
|
2016-06-02 13:39:31 +08:00
|
|
|
|
2021-05-01 19:14:53 +08:00
|
|
|
<!ENTITY blfs-wiki "https://wiki.&lfs-domainname;/blfs/wiki">
|
2006-01-27 00:14:43 +08:00
|
|
|
|
2009-07-26 22:30:45 +08:00
|
|
|
<!-- These entities are used to annotate the current status of a package as it
|
|
|
|
relates to the version of LFS it will build/work against -->
|
2016-02-15 11:37:04 +08:00
|
|
|
|
2021-08-26 12:06:23 +08:00
|
|
|
<!ENTITY lfs110a_checked "<para>This package is known to build and work
|
2021-08-16 03:07:22 +08:00
|
|
|
properly using an LFS-11.0 platform.</para>">
|
2021-08-31 23:26:27 +08:00
|
|
|
<!--
|
2021-08-26 12:06:23 +08:00
|
|
|
<!ENTITY lfs110a_built "<para>This package is known to build using an LFS
|
2021-08-16 03:07:22 +08:00
|
|
|
11.0 platform but has not been tested.</para>">
|
2021-08-31 23:26:27 +08:00
|
|
|
-->
|
2009-07-26 22:30:45 +08:00
|
|
|
<!-- End special entities about LFS compatibility -->
|
|
|
|
|
2012-10-11 05:35:16 +08:00
|
|
|
<!ENTITY as_root "<note><para>When installing multiple packages in a script,
|
|
|
|
the installation needs to be done as the root user. There are three general
|
|
|
|
options that can be used to do this:</para>
|
|
|
|
|
|
|
|
<orderedlist>
|
|
|
|
|
|
|
|
<listitem><para>Run the entire script as the root user (not
|
|
|
|
recommended).</para></listitem>
|
|
|
|
|
|
|
|
<listitem><para>Use the <command>sudo</command> command from the <xref
|
|
|
|
linkend='sudo'/> package.</para></listitem>
|
|
|
|
|
|
|
|
<listitem><para>Use <command>su -c "command arguments"</command>
|
|
|
|
(quotes required) which will ask for the root password for every iteration
|
2013-02-12 02:51:17 +08:00
|
|
|
of the loop.</para></listitem>
|
|
|
|
|
2012-10-11 05:35:16 +08:00
|
|
|
</orderedlist>
|
|
|
|
|
|
|
|
<para>One way to handle this situation is to create a short
|
|
|
|
<command>bash</command> function that automatically selects the appropriate
|
|
|
|
method. Once the command is set in the environment, it does not need to be
|
|
|
|
set again.</para>
|
2013-02-12 02:51:17 +08:00
|
|
|
|
2012-10-11 05:35:16 +08:00
|
|
|
<screen><userinput>as_root()
|
|
|
|
{
|
|
|
|
if [ $EUID = 0 ]; then $*
|
|
|
|
elif [ -x /usr/bin/sudo ]; then sudo $*
|
|
|
|
else su -c \\"$*\\"
|
2013-02-12 02:51:17 +08:00
|
|
|
fi
|
2012-10-11 05:35:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export -f as_root</userinput></screen>
|
|
|
|
</note>">
|
2012-07-30 11:02:54 +08:00
|
|
|
|
2012-06-12 10:16:18 +08:00
|
|
|
<!ENTITY not-katamari "<para>This package is not a part of the Xorg
|
|
|
|
katamari and is provided only as a dependency to
|
|
|
|
other packages or for testing the completed Xorg
|
|
|
|
installation.</para>">
|
2012-10-01 13:54:32 +08:00
|
|
|
|
2014-07-21 00:05:48 +08:00
|
|
|
<!ENTITY % package-entities SYSTEM "packages.ent">
|
|
|
|
%package-entities;
|
2015-06-09 04:08:38 +08:00
|
|
|
|
2015-07-25 07:55:27 +08:00
|
|
|
<!ENTITY parallel_issues "<note><para>This package may occasionally fail when
|
|
|
|
building with multiple processors. See <xref
|
2015-06-09 04:08:38 +08:00
|
|
|
linkend='parallel-builds'/> for more information.</para></note>">
|
|
|
|
|
2018-05-22 10:03:23 +08:00
|
|
|
<!ENTITY shell-env "<note><para>If installing in the chroot environment, be
|
|
|
|
sure to export the <envar>SHELL</envar> environment
|
|
|
|
variable or configuration of the package will
|
|
|
|
fail.</para></note>">
|
|
|
|
|