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 -->
|
2023-03-01 02:18:50 +08:00
|
|
|
<!ENTITY % relyear "2023">
|
|
|
|
<!ENTITY % relnum "11.3">
|
|
|
|
<!ENTITY % reldate "March 1st, 2023">
|
|
|
|
<!ENTITY % relpubdate "2023-03-01">
|
2021-10-17 03:53:42 +08:00
|
|
|
<!-- ================================================================== -->
|
|
|
|
<!-- 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; [
|
2022-03-01 17:07:36 +08:00
|
|
|
<!ENTITY lfs-version "development">
|
|
|
|
<!ENTITY blfs-version "svn">
|
|
|
|
<!ENTITY patch-version "svn">
|
2021-10-17 03:53:42 +08:00
|
|
|
]]>
|
|
|
|
<![ %systemd; [
|
2022-03-01 17:07:36 +08:00
|
|
|
<!ENTITY lfs-version "systemd">
|
|
|
|
<!ENTITY blfs-version "systemd">
|
|
|
|
<!ENTITY patch-version "svn">
|
2021-10-17 03:53:42 +08:00
|
|
|
]]>
|
|
|
|
]]><!-- End %development -->
|
|
|
|
|
|
|
|
<![ %release; [
|
|
|
|
<![ %sysv; [
|
2022-03-01 17:07:36 +08:00
|
|
|
<!ENTITY lfs-version "%relnum;">
|
|
|
|
<!ENTITY blfs-version "%relnum;">
|
|
|
|
<!ENTITY patch-version "%relnum;">
|
2021-10-17 03:53:42 +08:00
|
|
|
]]>
|
|
|
|
<![ %systemd; [
|
2022-03-01 17:07:36 +08:00
|
|
|
<!ENTITY lfs-version "%relnum;-systemd">
|
|
|
|
<!ENTITY blfs-version "%relnum;-systemd">
|
|
|
|
<!ENTITY patch-version "%relnum;">
|
2021-10-17 03:53:42 +08:00
|
|
|
]]>
|
|
|
|
|
|
|
|
<!ENTITY year "%relyear;">
|
2022-03-01 05:57:34 +08:00
|
|
|
<!ENTITY version "%relnum;">
|
2021-10-17 03:53:42 +08:00
|
|
|
<!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;">
|
2022-03-01 17:19:24 +08:00
|
|
|
<!-- downloads_root must have an entity because it is needed for scripts
|
|
|
|
Note: s/_/-/ in comment to avoid grep error
|
|
|
|
It is also needed for systemd units
|
|
|
|
-->
|
2022-03-01 17:07:36 +08:00
|
|
|
<!ENTITY downloads-root "&lfs-website;/blfs/downloads/&blfs-version;">
|
|
|
|
<!--<!ENTITY downloads-root-systemd "https://www.linuxfromscratch.org/blfs/downloads/systemd">
|
|
|
|
<!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">
|
2022-03-01 17:07:36 +08:00
|
|
|
<!ENTITY patch-root "https://www.&lfs-domainname;/patches/blfs/&patch-version;">
|
2021-05-01 19:14:53 +08:00
|
|
|
<!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
|
|
|
|
2022-04-20 08:56:29 +08:00
|
|
|
<!-- Convenience entities -->
|
|
|
|
<!ENTITY root "<systemitem class='username'>root</systemitem>">
|
2022-12-17 03:18:44 +08:00
|
|
|
<!ENTITY gi-docgen-url "https://gnome.pages.gitlab.gnome.org/gi-docgen/">
|
2022-04-20 08:56:29 +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. -->
|
2022-05-05 17:47:57 +08:00
|
|
|
|
2023-07-25 01:07:00 +08:00
|
|
|
<!ENTITY lfs-perl-version "5.38"> <!-- used in git -->
|
2022-05-05 17:47:57 +08:00
|
|
|
|
2006-03-28 07:17:00 +08:00
|
|
|
<!-- End LFS versions -->
|
2004-06-10 10:40:59 +08:00
|
|
|
|
2023-08-25 03:20:50 +08:00
|
|
|
<!ENTITY blfs-bootscripts-version "20230824">
|
2023-08-17 03:48:58 +08:00
|
|
|
<!ENTITY systemd-units-version "20230816">
|
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 -->
|
2023-08-30 00:45:51 +08:00
|
|
|
<!--
|
|
|
|
<!ENTITY lfs113_checked "<note><para>Development versions of BLFS may not build or run
|
|
|
|
some packages properly if LFS or dependencies have been updated
|
|
|
|
since the most recent stable versions of the books.</para></note>">
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!ENTITY lfs120_checked "<para>This package is known to build and work properly
|
|
|
|
using an LFS 12.0 platform.</para>">
|
2023-08-16 01:12:31 +08:00
|
|
|
|
2023-02-15 05:12:48 +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
|
|
|
|
2023-01-29 20:51:59 +08:00
|
|
|
<!ENTITY not-katamari "<para>This package is provided for testing the
|
2022-11-30 05:46:29 +08:00
|
|
|
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>">
|
|
|
|
|
2023-02-14 20:09:55 +08:00
|
|
|
<!ENTITY gi-doc-disable
|
|
|
|
"Allow building this package without <xref linkend='gi-docgen'/>
|
|
|
|
installed. If you have <xref linkend='gi-docgen'/> installed and
|
|
|
|
you wish to rebuild and install the API documentation, a
|
|
|
|
<command>meson configure</command> command will reset this
|
|
|
|
option.">
|
2023-03-27 16:08:36 +08:00
|
|
|
|
|
|
|
<!ENTITY build-use-internet
|
|
|
|
"<note><para>An Internet connection is needed for building this
|
|
|
|
package.</para></note>">
|
|
|
|
|
|
|
|
<!ENTITY test-use-internet
|
|
|
|
"<note><para>An Internet connection is needed for some tests of
|
|
|
|
this package.</para></note>">
|
2023-04-10 16:51:19 +08:00
|
|
|
|
|
|
|
<!ENTITY logind
|
|
|
|
"<phrase revision='sysv'><xref linkend='elogind'/></phrase>
|
|
|
|
<phrase revision='systemd'><xref linkend='systemd'/></phrase>">
|
2023-07-14 09:23:08 +08:00
|
|
|
|
|
|
|
<!ENTITY qt5-deps
|
|
|
|
"(<xref linkend='qt5'/> or <xref role='nodep' linkend='qt5-alternate'/>)">
|