[1cefd4d7] | 1 | <!-- $LastChangedBy$ $Date$ -->
|
---|
[276015d2] | 2 |
|
---|
[a0e6e8dd] | 3 | <!ENTITY day "05"> <!-- Always 2 digits -->
|
---|
[8d427b0a] | 4 | <!ENTITY month "08"> <!-- 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;">
|
---|
[a0e6e8dd] | 9 | <!ENTITY releasedate "August 5th &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;">
|
---|
[cbddee1] | 22 | <!-- downloads - root must not have an entity because it is needed for scripts
|
---|
[7c284e7] | 23 | change svn to x.y for release -->
|
---|
| 24 | <!ENTITY downloads-root "http://www.linuxfromscratch.org/blfs/downloads/svn">
|
---|
[4e88613] | 25 | <!ENTITY downloads-project "http://downloads.&lfs-domainname;">
|
---|
[1fb339c] | 26 | <!ENTITY sources-anduin-http "http://anduin.&lfs-domainname;/sources/BLFS/svn">
|
---|
| 27 | <!ENTITY sources-anduin-ftp "ftp://anduin.&lfs-domainname;/BLFS/svn">
|
---|
[71e6ae5] | 28 | <!ENTITY sources-anduin-other-http "http://anduin.&lfs-domainname;/sources/other">
|
---|
[e867a12] | 29 | <!ENTITY sources-anduin-other "ftp://anduin.&lfs-domainname;/other">
|
---|
[e67d068] | 30 | <!ENTITY files-anduin "http://anduin.&lfs-domainname;/files/BLFS/svn">
|
---|
[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/">
|
---|
[4e88613] | 36 | <!-- <!ENTITY lfs-root "http://www.&lfs-domainname;/lfs/view/&lfs-version;"> -->
|
---|
| 37 | <!ENTITY lfs-root "../../../../lfs/view/&lfs-version;">
|
---|
[4dcc31a] | 38 | <!ENTITY lfs-dev "../../../../lfs/view/development">
|
---|
[ec9b2d7] | 39 | <!ENTITY kernel "http://www.kernel.org/pub/">
|
---|
[1604b8ff] | 40 | <!ENTITY gstreamer-dl "http://gstreamer.freedesktop.org/src">
|
---|
[c9b953e6] | 41 | <!ENTITY gnu-alpha-ftp "ftp://alpha.gnu.org/gnu/">
|
---|
| 42 | <!ENTITY gnu-alpha-http "http://alpha.gnu.org/gnu/">
|
---|
[c5e155d2] | 43 | <!ENTITY sourceforge-repo "http://downloads.sourceforge.net">
|
---|
[e50b41c] | 44 | <!ENTITY sourceforge-repo2 "http://sourceforge.net">
|
---|
[c7ed4f4d] | 45 | <!ENTITY gentoo-ftp-repo "ftp://mirror.ovh.net/gentoo-distfiles/distfiles">
|
---|
[98e2adf] | 46 | <!ENTITY fedora-http-repo "http://pkgs.fedoraproject.org/repo/pkgs">
|
---|
[faf325d] | 47 | <!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
|
---|
[458e839c] | 48 | <!ENTITY lxqt-http-repo "http://downloads.lxqt.org/lxqt">
|
---|
[4e88613] | 49 | <!ENTITY publisher "Unknown">
|
---|
[0269d30] | 50 | <!--<!ENTITY xorg-download-http "http://xorg.freedesktop.org/archive/individual">-->
|
---|
| 51 | <!ENTITY xorg-download-http "http://ftp.x.org/pub/individual">
|
---|
[2f4014b] | 52 | <!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual">
|
---|
[af176a5f] | 53 | <!ENTITY mozilla-http "https://ftp.mozilla.org/pub/mozilla.org">
|
---|
[3c9c4e8] | 54 | <!ENTITY mozilla-ftp "ftp://ftp.mozilla.org/pub">
|
---|
[07584d8] | 55 | <!ENTITY gnome-download-http "http://ftp.gnome.org/pub/gnome/sources">
|
---|
| 56 | <!ENTITY gnome-download-ftp "ftp://ftp.gnome.org/pub/gnome/sources">
|
---|
[ac3e2e3b] | 57 | <!ENTITY gnome-minor "3.12">
|
---|
[4197597] | 58 | <!ENTITY gnome-minor-14 "3.14">
|
---|
[687ce4b] | 59 | <!ENTITY gnome-minor-16 "3.16">
|
---|
[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 |
|
---|
[395be1c] | 78 | <!ENTITY blfs-bootscripts-version "20150802">
|
---|
[feeb99a] | 79 | <!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
|
---|
[29a430f] | 80 |
|
---|
[4e88613] | 81 | <!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
|
---|
[d53eb0e] | 82 |
|
---|
[b5a2067] | 83 | <!-- These entities are used to annotate the current status of a package as it
|
---|
| 84 | relates to the version of LFS it will build/work against -->
|
---|
[be7383c] | 85 | <!ENTITY lfs77_checked "<para>This package is known to build and work
|
---|
| 86 | properly using an LFS-7.7 platform.</para>">
|
---|
| 87 | <!ENTITY lfs77_built "<para>This package is known to build using an LFS
|
---|
| 88 | 7.7 platform but has not been tested.</para>">
|
---|
| 89 |
|
---|
[0d9647c1] | 90 | <!ENTITY gcc5_checked "<para>This package is known to build and work
|
---|
| 91 | properly using the gcc-5 compiler.</para>">
|
---|
| 92 | <!ENTITY gcc5_built "<para>This package is known to build using the
|
---|
| 93 | gcc-5 compiler but has not been tested.</para>">
|
---|
| 94 |
|
---|
[040a2e4] | 95 | <!-- usage: <para>&lfssvn_checked;ccyymmdd&lfssvn_checked2;</para> -->
|
---|
[76ae9a2] | 96 | <!ENTITY lfssvn_checked "This package is known to build and work properly
|
---|
[040a2e4] | 97 | using an LFS-SVN-">
|
---|
[5f04edc] | 98 | <!ENTITY lfssvn_checked2 " platform.">
|
---|
[040a2e4] | 99 | <!ENTITY lfssvn_built "This package is known to build using an LFS-SVN-">
|
---|
[5f04edc] | 100 | <!ENTITY lfssvn_built2 " platform but has not been tested.">
|
---|
[b5a2067] | 101 | <!-- End special entities about LFS compatibility -->
|
---|
| 102 |
|
---|
[ba58642] | 103 | <!ENTITY as_root "<note><para>When installing multiple packages in a script,
|
---|
| 104 | the installation needs to be done as the root user. There are three general
|
---|
| 105 | options that can be used to do this:</para>
|
---|
| 106 |
|
---|
| 107 | <orderedlist>
|
---|
| 108 |
|
---|
| 109 | <listitem><para>Run the entire script as the root user (not
|
---|
| 110 | recommended).</para></listitem>
|
---|
| 111 |
|
---|
| 112 | <listitem><para>Use the <command>sudo</command> command from the <xref
|
---|
| 113 | linkend='sudo'/> package.</para></listitem>
|
---|
| 114 |
|
---|
| 115 | <listitem><para>Use <command>su -c "command arguments"</command>
|
---|
| 116 | (quotes required) which will ask for the root password for every iteration
|
---|
[0d7900a] | 117 | of the loop.</para></listitem>
|
---|
| 118 |
|
---|
[ba58642] | 119 | </orderedlist>
|
---|
| 120 |
|
---|
| 121 | <para>One way to handle this situation is to create a short
|
---|
| 122 | <command>bash</command> function that automatically selects the appropriate
|
---|
| 123 | method. Once the command is set in the environment, it does not need to be
|
---|
| 124 | set again.</para>
|
---|
[0d7900a] | 125 |
|
---|
[ba58642] | 126 | <screen><userinput>as_root()
|
---|
| 127 | {
|
---|
| 128 | if [ $EUID = 0 ]; then $*
|
---|
| 129 | elif [ -x /usr/bin/sudo ]; then sudo $*
|
---|
| 130 | else su -c \\"$*\\"
|
---|
[0d7900a] | 131 | fi
|
---|
[ba58642] | 132 | }
|
---|
| 133 |
|
---|
| 134 | export -f as_root</userinput></screen>
|
---|
| 135 | </note>">
|
---|
[33cbd93a] | 136 |
|
---|
[e03aea8] | 137 | <!ENTITY not-katamari "<para>This package is not a part of the Xorg
|
---|
| 138 | katamari and is provided only as a dependency to
|
---|
| 139 | other packages or for testing the completed Xorg
|
---|
| 140 | installation.</para>">
|
---|
[058a3280] | 141 |
|
---|
| 142 | <!ENTITY gst-compat "<note><para><application>GStreamer</application> 1.0 series
|
---|
[602bef5] | 143 | is not API or ABI compatible with
|
---|
[058a3280] | 144 | <application>GStreamer</application> 0.10 series and both
|
---|
[602bef5] | 145 | can be installed on the same system.</para></note>">
|
---|
[058a3280] | 146 |
|
---|
[93f680d5] | 147 |
|
---|
| 148 | <!-- Problem with some packages introduced by a given dependency version -->
|
---|
| 149 | <!ENTITY gcc-490 "gcc-4.9.0">
|
---|
| 150 |
|
---|
| 151 |
|
---|
| 152 |
|
---|
[13652301] | 153 | <!ENTITY % package-entities SYSTEM "packages.ent">
|
---|
| 154 | %package-entities;
|
---|
[ea20da9] | 155 |
|
---|
[428191d] | 156 | <!ENTITY parallel_issues "<note><para>This package may occasionally fail when
|
---|
| 157 | building with multiple processors. See <xref
|
---|
[ea20da9] | 158 | linkend='parallel-builds'/> for more information.</para></note>">
|
---|
| 159 |
|
---|
[1b0d0188] | 160 | <!-- KF5 entities -->
|
---|
[85f4254] | 161 | <!ENTITY kf5-version "5.12.0">
|
---|
| 162 | <!ENTITY kf5-short-version "5.12">
|
---|
| 163 | <!ENTITY kf5-base "5.12">
|
---|
[428191d] | 164 | <!ENTITY kf5-download-http "http://download.kde.org/stable/frameworks/&kf5-base;">
|
---|
[b0738fd] | 165 | <!ENTITY kf5-download-ftp "ftp://ftp.kde.org/pub/kde/stable/frameworks/&kf5-base;/">
|
---|
| 166 |
|
---|
[bd65b8c3] | 167 | <!ENTITY kf5apps-version "15.04.3">
|
---|
[428191d] | 168 | <!ENTITY kf5apps-download-http "http://download.kde.org/stable/applications/&kf5apps-version;/src">
|
---|
[b0738fd] | 169 | <!ENTITY kf5apps-download-ftp "ftp://ftp.kde.org/pub/kde/stable/&kf5apps-version;/src">
|
---|
[1b0d0188] | 170 |
|
---|