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