[1cefd4d7] | 1 | <!-- $LastChangedBy$ $Date$ -->
|
---|
[276015d2] | 2 |
|
---|
[383a1cd0] | 3 | <!ENTITY day "10"> <!-- Always 2 digits -->
|
---|
[57977df] | 4 | <!ENTITY month "03"> <!-- Always 2 digits -->
|
---|
[2325e9ba] | 5 | <!ENTITY year "2016">
|
---|
[416886f] | 6 | <!ENTITY copyrightdate "2001-&year;">
|
---|
[65a146b6] | 7 | <!ENTITY copyholder "The BLFS systemd Development Team">
|
---|
[9e9cd2a2] | 8 | <!ENTITY version "&year;-&month;-&day;">
|
---|
[383a1cd0] | 9 | <!ENTITY releasedate "March 10th, &year;">
|
---|
[e9ef7b5e] | 10 | <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
---|
[ac38e9dc] | 11 | <!ENTITY blfs-version "systemd"> <!-- svn|[release #] -->
|
---|
| 12 | <!ENTITY lfs-version "systemd"> <!-- x.y|development] -->
|
---|
[103ead8] | 13 | <!ENTITY last-commit "$Date$"> <!-- Automatic update -->
|
---|
[4e88613] | 14 | <!ENTITY lfs-domainname "linuxfromscratch.org">
|
---|
[29a430f] | 15 |
|
---|
[65a146b6] | 16 | <!ENTITY maintainer-fullname "The BLFS systemd Team">
|
---|
[f6ba18fd] | 17 | <!ENTITY maintainer-firstname "BLFS">
|
---|
[41666068] | 18 | <!ENTITY maintainer-address "blfs-maintainer@&lfs-domainname;">
|
---|
[4e88613] | 19 |
|
---|
[9cbbf24b] | 20 | <!ENTITY lfs-website "http://www.&lfs-domainname;">
|
---|
[83f6c770] | 21 | <!-- downloads_root must not have an entity because it is needed for scripts
|
---|
| 22 | change svn to x.y for release. Note: s/_/-/ in comment to avoid grep error -->
|
---|
[65a146b6] | 23 | <!ENTITY downloads-root "http://www.linuxfromscratch.org/blfs/downloads/systemd">
|
---|
[4e88613] | 24 | <!ENTITY downloads-project "http://downloads.&lfs-domainname;">
|
---|
[83f6c770] | 25 |
|
---|
[602332ff] | 26 | <!ENTITY sources-anduin-http "http://anduin.linuxfromscratch.org/BLFS">
|
---|
| 27 | <!ENTITY sources-anduin-ftp "ftp://anduin.linuxfromscratch.org/BLFS">
|
---|
[83f6c770] | 28 |
|
---|
[4e88613] | 29 | <!ENTITY hints-root "http://www.&lfs-domainname;/hints">
|
---|
[207c3129] | 30 | <!ENTITY patch-downloads "http://www.linuxfromscratch.org/patches/downloads">
|
---|
[706a31d6] | 31 | <!ENTITY patch-root "http://www.&lfs-domainname;/patches/blfs/systemd">
|
---|
[4e88613] | 32 | <!ENTITY errata "http://www.&lfs-domainname;/blfs/errata/&blfs-version;/">
|
---|
[f267149] | 33 | <!ENTITY blfs-ticket-root "http://wiki.&lfs-domainname;/blfs/ticket/">
|
---|
[4e88613] | 34 | <!-- <!ENTITY lfs-root "http://www.&lfs-domainname;/lfs/view/&lfs-version;"> -->
|
---|
| 35 | <!ENTITY lfs-root "../../../../lfs/view/&lfs-version;">
|
---|
[ac38e9dc] | 36 | <!ENTITY lfs-dev "../../../../lfs/view/systemd">
|
---|
[ec9b2d7] | 37 | <!ENTITY kernel "http://www.kernel.org/pub/">
|
---|
[1604b8ff] | 38 | <!ENTITY gstreamer-dl "http://gstreamer.freedesktop.org/src">
|
---|
[c9b953e6] | 39 | <!ENTITY gnu-alpha-ftp "ftp://alpha.gnu.org/gnu/">
|
---|
| 40 | <!ENTITY gnu-alpha-http "http://alpha.gnu.org/gnu/">
|
---|
[fce275e] | 41 | <!ENTITY sourceforge-repo "http://downloads.sourceforge.net">
|
---|
[e50b41c] | 42 | <!ENTITY sourceforge-repo2 "http://sourceforge.net">
|
---|
[c7ed4f4d] | 43 | <!ENTITY gentoo-ftp-repo "ftp://mirror.ovh.net/gentoo-distfiles/distfiles">
|
---|
[5acd8d2] | 44 | <!ENTITY fedora-http-repo "http://pkgs.fedoraproject.org/repo/pkgs">
|
---|
[83f6c770] | 45 | <!ENTITY lxqt-http-repo "http://downloads.lxqt.org/lxqt">
|
---|
[faf325d] | 46 | <!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
|
---|
[4e88613] | 47 | <!ENTITY publisher "Unknown">
|
---|
[83f6c770] | 48 | <!--<!ENTITY xorg-download-http "http://xorg.freedesktop.org/archive/individual">-->
|
---|
| 49 | <!ENTITY xorg-download-http "http://ftp.x.org/pub/individual">
|
---|
[2f4014b] | 50 | <!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual">
|
---|
[ac38e9dc] | 51 | <!ENTITY mozilla-http "https://ftp.mozilla.org/pub/mozilla.org">
|
---|
| 52 | <!ENTITY mozilla-ftp "ftp://ftp.mozilla.org/pub">
|
---|
[07584d8] | 53 | <!ENTITY gnome-download-http "http://ftp.gnome.org/pub/gnome/sources">
|
---|
[ac38e9dc] | 54 | <!ENTITY gnome-download-ftp "ftp://ftp.gnome.org/pub/gnome/sources">
|
---|
[ac3e2e3b] | 55 | <!ENTITY gnome-minor "3.12">
|
---|
[ac38e9dc] | 56 | <!ENTITY gnome-minor-14 "3.14">
|
---|
[83f6c770] | 57 | <!ENTITY gnome-minor-16 "3.16">
|
---|
| 58 | <!ENTITY gnome-minor-18 "3.18">
|
---|
[4122007] | 59 |
|
---|
[55fb7f56] | 60 | <!-- These entities are used to identify versions of LFS
|
---|
[db808f2] | 61 | packages referenced throughout the BLFS book. -->
|
---|
[eb631ac] | 62 | <!ENTITY lfs-autoconf-version "2.69">
|
---|
[415e4b2] | 63 | <!ENTITY lfs-coreutils-version "8.23">
|
---|
[f60f672] | 64 | <!ENTITY lfs-dbus-version "1.10.6">
|
---|
[83f6c770] | 65 | <!ENTITY lfs-e2fsprogs-version "1.42.13">
|
---|
[eb631ac] | 66 | <!ENTITY lfs-flex-version "2.5.39">
|
---|
[83f6c770] | 67 | <!ENTITY lfs-gcc-version "5.3.0">
|
---|
[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">
|
---|
[ab88249] | 75 | <!ENTITY lfs-systemd-version "229">
|
---|
[d659cbe] | 76 | <!ENTITY lfs-vim-version "7.4">
|
---|
[55fb7f56] | 77 | <!-- End LFS versions -->
|
---|
[4122007] | 78 |
|
---|
[383a1cd0] | 79 | <!ENTITY blfs-bootscripts-version "20150310">
|
---|
[4ca3584] | 80 | <!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-systemd-units-&blfs-bootscripts-version;.tar.bz2">
|
---|
[29a430f] | 81 |
|
---|
[4e88613] | 82 | <!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
|
---|
[d53eb0e] | 83 |
|
---|
[b5a2067] | 84 | <!-- These entities are used to annotate the current status of a package as it
|
---|
| 85 | relates to the version of LFS it will build/work against -->
|
---|
[6283ab1] | 86 | <!ENTITY lfs76_checked "<para>This package is known to build and work
|
---|
[83f6c770] | 87 | properly using an LFS-7.6-systemd platform.</para>">
|
---|
[6283ab1] | 88 | <!ENTITY lfs76_built "<para>This package is known to build using an LFS
|
---|
[83f6c770] | 89 | 7.6-systemd platform but has not been tested.</para>">
|
---|
[ac38e9dc] | 90 | <!ENTITY lfs77_checked "<para>This package is known to build and work
|
---|
[83f6c770] | 91 | properly using an LFS-7.7-systemd platform.</para>">
|
---|
[ac38e9dc] | 92 | <!ENTITY lfs77_built "<para>This package is known to build using an LFS
|
---|
[83f6c770] | 93 | 7.7-systemd platform but has not been tested.</para>">
|
---|
[184f8af] | 94 | <!ENTITY lfs78_built "<para>This package is known to build using an LFS
|
---|
| 95 | 7.8-systemd platform but has not been tested.</para>">
|
---|
| 96 | <!ENTITY lfs78_checked "<para>This package is known to build and work
|
---|
| 97 | properly using an LFS 7.8-systemd platform.</para>">
|
---|
[83f6c770] | 98 | <!ENTITY lfs79_built "<para>This package is known to build using an LFS
|
---|
| 99 | 7.9-systemd platform but has not been tested.</para>">
|
---|
| 100 | <!ENTITY lfs79_checked "<para>This package is known to build and work
|
---|
| 101 | properly using an LFS 7.9-systemd platform.</para>">
|
---|
| 102 |
|
---|
[040a2e4] | 103 | <!-- usage: <para>&lfssvn_checked;ccyymmdd&lfssvn_checked2;</para> -->
|
---|
[76ae9a2] | 104 | <!ENTITY lfssvn_checked "This package is known to build and work properly
|
---|
[040a2e4] | 105 | using an LFS-SVN-">
|
---|
[5f04edc] | 106 | <!ENTITY lfssvn_checked2 " platform.">
|
---|
[040a2e4] | 107 | <!ENTITY lfssvn_built "This package is known to build using an LFS-SVN-">
|
---|
[5f04edc] | 108 | <!ENTITY lfssvn_built2 " platform but has not been tested.">
|
---|
[b5a2067] | 109 | <!-- End special entities about LFS compatibility -->
|
---|
| 110 |
|
---|
[ba58642] | 111 | <!ENTITY as_root "<note><para>When installing multiple packages in a script,
|
---|
| 112 | the installation needs to be done as the root user. There are three general
|
---|
| 113 | options that can be used to do this:</para>
|
---|
| 114 |
|
---|
| 115 | <orderedlist>
|
---|
| 116 |
|
---|
| 117 | <listitem><para>Run the entire script as the root user (not
|
---|
| 118 | recommended).</para></listitem>
|
---|
| 119 |
|
---|
| 120 | <listitem><para>Use the <command>sudo</command> command from the <xref
|
---|
| 121 | linkend='sudo'/> package.</para></listitem>
|
---|
| 122 |
|
---|
| 123 | <listitem><para>Use <command>su -c "command arguments"</command>
|
---|
| 124 | (quotes required) which will ask for the root password for every iteration
|
---|
[0d7900a] | 125 | of the loop.</para></listitem>
|
---|
| 126 |
|
---|
[ba58642] | 127 | </orderedlist>
|
---|
| 128 |
|
---|
| 129 | <para>One way to handle this situation is to create a short
|
---|
| 130 | <command>bash</command> function that automatically selects the appropriate
|
---|
| 131 | method. Once the command is set in the environment, it does not need to be
|
---|
| 132 | set again.</para>
|
---|
[0d7900a] | 133 |
|
---|
[ba58642] | 134 | <screen><userinput>as_root()
|
---|
| 135 | {
|
---|
| 136 | if [ $EUID = 0 ]; then $*
|
---|
| 137 | elif [ -x /usr/bin/sudo ]; then sudo $*
|
---|
| 138 | else su -c \\"$*\\"
|
---|
[0d7900a] | 139 | fi
|
---|
[ba58642] | 140 | }
|
---|
| 141 |
|
---|
| 142 | export -f as_root</userinput></screen>
|
---|
| 143 | </note>">
|
---|
[33cbd93a] | 144 |
|
---|
[e03aea8] | 145 | <!ENTITY not-katamari "<para>This package is not a part of the Xorg
|
---|
| 146 | katamari and is provided only as a dependency to
|
---|
| 147 | other packages or for testing the completed Xorg
|
---|
| 148 | installation.</para>">
|
---|
[058a3280] | 149 |
|
---|
| 150 | <!ENTITY gst-compat "<note><para><application>GStreamer</application> 1.0 series
|
---|
[602bef5] | 151 | is not API or ABI compatible with
|
---|
[058a3280] | 152 | <application>GStreamer</application> 0.10 series and both
|
---|
[602bef5] | 153 | can be installed on the same system.</para></note>">
|
---|
[058a3280] | 154 |
|
---|
[aedf4d7] | 155 |
|
---|
| 156 | <!-- Problem with some packages introduced by a given dependency version -->
|
---|
| 157 | <!ENTITY gcc-490 "gcc-4.9.0">
|
---|
| 158 |
|
---|
| 159 |
|
---|
| 160 |
|
---|
[25caf25] | 161 | <!ENTITY % package-entities SYSTEM "packages.ent">
|
---|
| 162 | %package-entities;
|
---|
[81678a49] | 163 |
|
---|
[957e8a3d] | 164 | <!-- This should be moved into packages.xml at a later date -->
|
---|
[51d044f] | 165 | <!ENTITY % kde5-package-entities SYSTEM "kde5/kde5.ent">
|
---|
| 166 | %kde5-package-entities;
|
---|
| 167 |
|
---|
[83f6c770] | 168 | <!ENTITY parallel_issues "<note><para>This package may occasionally fail when
|
---|
| 169 | building with multiple processors. See <xref
|
---|
| 170 | linkend='parallel-builds'/> for more information.</para></note>">
|
---|
| 171 |
|
---|
| 172 | <!-- KF5 entities -->
|
---|
| 173 | <!ENTITY kf5-version "5.18.0">
|
---|
| 174 | <!ENTITY kf5-short-version "5.18">
|
---|
| 175 | <!ENTITY kf5-base "5.18">
|
---|
| 176 | <!ENTITY kf5-download-http "http://download.kde.org/stable/frameworks/&kf5-base;">
|
---|
| 177 | <!ENTITY kf5-download-ftp "ftp://ftp.kde.org/pub/kde/stable/frameworks/&kf5-base;/">
|
---|
| 178 |
|
---|
| 179 | <!ENTITY kf5apps-version "15.12.1">
|
---|
| 180 | <!ENTITY kf5apps-download-http "http://download.kde.org/stable/applications/&kf5apps-version;/src">
|
---|
| 181 | <!ENTITY kf5apps-download-ftp "ftp://ftp.kde.org/pub/kde/stable/&kf5apps-version;/src">
|
---|
| 182 |
|
---|
| 183 | <!ENTITY plasma5-version "5.5.3">
|
---|
| 184 |
|
---|