[1cefd4d7] | 1 | <!-- $LastChangedBy$ $Date$ -->
|
---|
[276015d2] | 2 |
|
---|
[fd9878e] | 3 | <!ENTITY day "09"> <!-- Always 2 digits -->
|
---|
[3d6df725] | 4 | <!ENTITY month "07"> <!-- Always 2 digits -->
|
---|
[8a6a8a40] | 5 | <!ENTITY year "2016">
|
---|
[416886f] | 6 | <!ENTITY copyrightdate "2001-&year;">
|
---|
| 7 | <!ENTITY copyholder "The BLFS Development Team">
|
---|
[9e9cd2a2] | 8 | <!ENTITY version "&year;-&month;-&day;">
|
---|
[fd9878e] | 9 | <!ENTITY releasedate "July 9th &year;">
|
---|
[e9ef7b5e] | 10 | <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
---|
[29a430f] | 11 | <!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
---|
[f586237] | 12 | <!ENTITY lfs-version "development"> <!-- x.y|development -->
|
---|
| 13 | <!ENTITY lfs-versiond "systemd"> <!-- x.y-systemd|systemd -->
|
---|
[103ead8] | 14 | <!ENTITY last-commit "$Date$"> <!-- Automatic update -->
|
---|
[4e88613] | 15 | <!ENTITY lfs-domainname "linuxfromscratch.org">
|
---|
[29a430f] | 16 |
|
---|
[f6ba18fd] | 17 | <!ENTITY maintainer-fullname "The BLFS Team">
|
---|
| 18 | <!ENTITY maintainer-firstname "BLFS">
|
---|
[41666068] | 19 | <!ENTITY maintainer-address "blfs-maintainer@&lfs-domainname;">
|
---|
[4e88613] | 20 |
|
---|
[428191d] | 21 |
|
---|
[9cbbf24b] | 22 | <!ENTITY lfs-website "http://www.&lfs-domainname;">
|
---|
[59fdbf7] | 23 | <!-- downloads_root must have an entity because it is needed for scripts
|
---|
| 24 | change svn to x.y for release. Note: s/_/-/ in comment to avoid grep error -->
|
---|
[7c284e7] | 25 | <!ENTITY downloads-root "http://www.linuxfromscratch.org/blfs/downloads/svn">
|
---|
[4e88613] | 26 | <!ENTITY downloads-project "http://downloads.&lfs-domainname;">
|
---|
[a29486e4] | 27 |
|
---|
| 28 | <!ENTITY sources-anduin-http "http://anduin.linuxfromscratch.org/BLFS">
|
---|
| 29 | <!ENTITY sources-anduin-ftp "ftp://anduin.linuxfromscratch.org/BLFS">
|
---|
| 30 |
|
---|
[4e88613] | 31 | <!ENTITY hints-root "http://www.&lfs-domainname;/hints">
|
---|
[207c3129] | 32 | <!ENTITY patch-downloads "http://www.linuxfromscratch.org/patches/downloads">
|
---|
[1fb339c] | 33 | <!ENTITY patch-root "http://www.&lfs-domainname;/patches/blfs/svn">
|
---|
[4e88613] | 34 | <!ENTITY errata "http://www.&lfs-domainname;/blfs/errata/&blfs-version;/">
|
---|
[f267149] | 35 | <!ENTITY blfs-ticket-root "http://wiki.&lfs-domainname;/blfs/ticket/">
|
---|
[a29486e4] | 36 |
|
---|
[4e88613] | 37 | <!ENTITY lfs-root "../../../../lfs/view/&lfs-version;">
|
---|
[f586237] | 38 | <!ENTITY lfs-rootd "../../../../lfs/view/&lfs-versiond;">
|
---|
[4dcc31a] | 39 | <!ENTITY lfs-dev "../../../../lfs/view/development">
|
---|
[ec9b2d7] | 40 | <!ENTITY kernel "http://www.kernel.org/pub/">
|
---|
[1604b8ff] | 41 | <!ENTITY gstreamer-dl "http://gstreamer.freedesktop.org/src">
|
---|
[c9b953e6] | 42 | <!ENTITY gnu-alpha-ftp "ftp://alpha.gnu.org/gnu/">
|
---|
| 43 | <!ENTITY gnu-alpha-http "http://alpha.gnu.org/gnu/">
|
---|
[c5e155d2] | 44 | <!ENTITY sourceforge-repo "http://downloads.sourceforge.net">
|
---|
[e50b41c] | 45 | <!ENTITY sourceforge-repo2 "http://sourceforge.net">
|
---|
[c7ed4f4d] | 46 | <!ENTITY gentoo-ftp-repo "ftp://mirror.ovh.net/gentoo-distfiles/distfiles">
|
---|
[98e2adf] | 47 | <!ENTITY fedora-http-repo "http://pkgs.fedoraproject.org/repo/pkgs">
|
---|
[faf325d] | 48 | <!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
|
---|
[458e839c] | 49 | <!ENTITY lxqt-http-repo "http://downloads.lxqt.org/lxqt">
|
---|
[4e88613] | 50 | <!ENTITY publisher "Unknown">
|
---|
[0269d30] | 51 | <!--<!ENTITY xorg-download-http "http://xorg.freedesktop.org/archive/individual">-->
|
---|
| 52 | <!ENTITY xorg-download-http "http://ftp.x.org/pub/individual">
|
---|
[2f4014b] | 53 | <!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual">
|
---|
[af176a5f] | 54 | <!ENTITY mozilla-http "https://ftp.mozilla.org/pub/mozilla.org">
|
---|
[3c9c4e8] | 55 | <!ENTITY mozilla-ftp "ftp://ftp.mozilla.org/pub">
|
---|
[4122007] | 56 |
|
---|
[55fb7f56] | 57 | <!-- These entities are used to identify versions of LFS
|
---|
[db808f2] | 58 | packages referenced throughout the BLFS book. -->
|
---|
[eb631ac] | 59 | <!ENTITY lfs-autoconf-version "2.69">
|
---|
[2f141ef] | 60 | <!ENTITY lfs-coreutils-version "8.23">
|
---|
| 61 | <!ENTITY lfs-e2fsprogs-version "1.42.11">
|
---|
[eb631ac] | 62 | <!ENTITY lfs-flex-version "2.5.39">
|
---|
[2f141ef] | 63 | <!ENTITY lfs-gcc-version "4.9.1">
|
---|
[eb631ac] | 64 | <!ENTITY lfs-gdbm-version "1.11">
|
---|
| 65 | <!ENTITY lfs-m4-version "1.4.17">
|
---|
[f524a8f] | 66 | <!-- this was originally the perl version used by the corresponding
|
---|
| 67 | version of lfs, in those days always for i686, but now BLFS is a rolling
|
---|
| 68 | release -->
|
---|
| 69 | <!ENTITY lfs-perl-version "<5.x.y>/<arch-linux>">
|
---|
[d64103f] | 70 | <!ENTITY lfs-shadow-version "4.2.1">
|
---|
[d659cbe] | 71 | <!ENTITY lfs-vim-version "7.4">
|
---|
[55fb7f56] | 72 | <!-- End LFS versions -->
|
---|
[4122007] | 73 |
|
---|
[db6b3391] | 74 | <!ENTITY blfs-bootscripts-version "20160415">
|
---|
[f852e706] | 75 | <!ENTITY systemd-units-version "20160602">
|
---|
| 76 |
|
---|
[29a430f] | 77 |
|
---|
[4e88613] | 78 | <!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
|
---|
[d53eb0e] | 79 |
|
---|
[b5a2067] | 80 | <!-- These entities are used to annotate the current status of a package as it
|
---|
| 81 | relates to the version of LFS it will build/work against -->
|
---|
[2db87f5] | 82 | <!ENTITY lfs79_checked "<para>This package is known to build and work
|
---|
| 83 | properly using an LFS-7.9 platform.</para>">
|
---|
| 84 | <!ENTITY lfs79_built "<para>This package is known to build using an LFS
|
---|
| 85 | 7.9 platform but has not been tested.</para>">
|
---|
| 86 |
|
---|
[040a2e4] | 87 | <!-- usage: <para>&lfssvn_checked;ccyymmdd&lfssvn_checked2;</para> -->
|
---|
[76ae9a2] | 88 | <!ENTITY lfssvn_checked "This package is known to build and work properly
|
---|
[040a2e4] | 89 | using an LFS-SVN-">
|
---|
[5f04edc] | 90 | <!ENTITY lfssvn_checked2 " platform.">
|
---|
[040a2e4] | 91 | <!ENTITY lfssvn_built "This package is known to build using an LFS-SVN-">
|
---|
[5f04edc] | 92 | <!ENTITY lfssvn_built2 " platform but has not been tested.">
|
---|
[b5a2067] | 93 | <!-- End special entities about LFS compatibility -->
|
---|
| 94 |
|
---|
[ba58642] | 95 | <!ENTITY as_root "<note><para>When installing multiple packages in a script,
|
---|
| 96 | the installation needs to be done as the root user. There are three general
|
---|
| 97 | options that can be used to do this:</para>
|
---|
| 98 |
|
---|
| 99 | <orderedlist>
|
---|
| 100 |
|
---|
| 101 | <listitem><para>Run the entire script as the root user (not
|
---|
| 102 | recommended).</para></listitem>
|
---|
| 103 |
|
---|
| 104 | <listitem><para>Use the <command>sudo</command> command from the <xref
|
---|
| 105 | linkend='sudo'/> package.</para></listitem>
|
---|
| 106 |
|
---|
| 107 | <listitem><para>Use <command>su -c "command arguments"</command>
|
---|
| 108 | (quotes required) which will ask for the root password for every iteration
|
---|
[0d7900a] | 109 | of the loop.</para></listitem>
|
---|
| 110 |
|
---|
[ba58642] | 111 | </orderedlist>
|
---|
| 112 |
|
---|
| 113 | <para>One way to handle this situation is to create a short
|
---|
| 114 | <command>bash</command> function that automatically selects the appropriate
|
---|
| 115 | method. Once the command is set in the environment, it does not need to be
|
---|
| 116 | set again.</para>
|
---|
[0d7900a] | 117 |
|
---|
[ba58642] | 118 | <screen><userinput>as_root()
|
---|
| 119 | {
|
---|
| 120 | if [ $EUID = 0 ]; then $*
|
---|
| 121 | elif [ -x /usr/bin/sudo ]; then sudo $*
|
---|
| 122 | else su -c \\"$*\\"
|
---|
[0d7900a] | 123 | fi
|
---|
[ba58642] | 124 | }
|
---|
| 125 |
|
---|
| 126 | export -f as_root</userinput></screen>
|
---|
| 127 | </note>">
|
---|
[33cbd93a] | 128 |
|
---|
[e03aea8] | 129 | <!ENTITY not-katamari "<para>This package is not a part of the Xorg
|
---|
| 130 | katamari and is provided only as a dependency to
|
---|
| 131 | other packages or for testing the completed Xorg
|
---|
| 132 | installation.</para>">
|
---|
[058a3280] | 133 |
|
---|
[93f680d5] | 134 | <!-- Problem with some packages introduced by a given dependency version -->
|
---|
| 135 | <!ENTITY gcc-490 "gcc-4.9.0">
|
---|
| 136 |
|
---|
[ba1ccf6] | 137 | <!ENTITY gcc6_checked "<para>This package is known to build
|
---|
| 138 | properly using the gcc-6 compiler.</para>">
|
---|
[93f680d5] | 139 |
|
---|
[13652301] | 140 | <!ENTITY % package-entities SYSTEM "packages.ent">
|
---|
| 141 | %package-entities;
|
---|
[ea20da9] | 142 |
|
---|
[428191d] | 143 | <!ENTITY parallel_issues "<note><para>This package may occasionally fail when
|
---|
| 144 | building with multiple processors. See <xref
|
---|
[ea20da9] | 145 | linkend='parallel-builds'/> for more information.</para></note>">
|
---|
| 146 |
|
---|