1 | <!-- $LastChangedBy$ $Date$ -->
|
---|
2 |
|
---|
3 | <!ENTITY day "02"> <!-- Always 2 digits -->
|
---|
4 | <!ENTITY month "06"> <!-- Always 2 digits -->
|
---|
5 | <!ENTITY year "2015">
|
---|
6 | <!ENTITY copyrightdate "2001-&year;">
|
---|
7 | <!ENTITY copyholder "The BLFS Development Team">
|
---|
8 | <!ENTITY version "&year;-&month;-&day;">
|
---|
9 | <!ENTITY releasedate "June 2nd &year;">
|
---|
10 | <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
---|
11 | <!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
---|
12 | <!ENTITY lfs-version "development"> <!-- x.y|development] -->
|
---|
13 | <!ENTITY last-commit "$Date$"> <!-- Automatic update -->
|
---|
14 | <!ENTITY lfs-domainname "linuxfromscratch.org">
|
---|
15 |
|
---|
16 | <!ENTITY maintainer-fullname "The BLFS Team">
|
---|
17 | <!ENTITY maintainer-firstname "BLFS">
|
---|
18 | <!ENTITY maintainer-address "blfs-maintainer@&lfs-domainname;">
|
---|
19 |
|
---|
20 |
|
---|
21 | <!ENTITY lfs-website "http://www.&lfs-domainname;">
|
---|
22 | <!-- downloads - root must not have an entity because it is needed for scripts
|
---|
23 | change svn to x.y for release -->
|
---|
24 | <!ENTITY downloads-root "http://www.linuxfromscratch.org/blfs/downloads/svn">
|
---|
25 | <!ENTITY downloads-project "http://downloads.&lfs-domainname;">
|
---|
26 | <!ENTITY sources-anduin-http "http://anduin.&lfs-domainname;/sources/BLFS/svn">
|
---|
27 | <!ENTITY sources-anduin-ftp "ftp://anduin.&lfs-domainname;/BLFS/svn">
|
---|
28 | <!ENTITY sources-anduin-other-http "http://anduin.&lfs-domainname;/sources/other">
|
---|
29 | <!ENTITY sources-anduin-other "ftp://anduin.&lfs-domainname;/other">
|
---|
30 | <!ENTITY files-anduin "http://anduin.&lfs-domainname;/files/BLFS/svn">
|
---|
31 | <!ENTITY hints-root "http://www.&lfs-domainname;/hints">
|
---|
32 | <!ENTITY patch-downloads "http://www.linuxfromscratch.org/patches/downloads">
|
---|
33 | <!ENTITY patch-root "http://www.&lfs-domainname;/patches/blfs/svn">
|
---|
34 | <!ENTITY errata "http://www.&lfs-domainname;/blfs/errata/&blfs-version;/">
|
---|
35 | <!ENTITY blfs-ticket-root "http://wiki.&lfs-domainname;/blfs/ticket/">
|
---|
36 | <!-- <!ENTITY lfs-root "http://www.&lfs-domainname;/lfs/view/&lfs-version;"> -->
|
---|
37 | <!ENTITY lfs-root "../../../../lfs/view/&lfs-version;">
|
---|
38 | <!ENTITY lfs-dev "../../../../lfs/view/development">
|
---|
39 | <!ENTITY kernel "http://www.kernel.org/pub/">
|
---|
40 | <!ENTITY gstreamer-dl "http://gstreamer.freedesktop.org/src">
|
---|
41 | <!ENTITY gnu-alpha-ftp "ftp://alpha.gnu.org/gnu/">
|
---|
42 | <!ENTITY gnu-alpha-http "http://alpha.gnu.org/gnu/">
|
---|
43 | <!ENTITY sourceforge-repo "http://downloads.sourceforge.net">
|
---|
44 | <!ENTITY sourceforge-repo2 "http://sourceforge.net">
|
---|
45 | <!ENTITY gentoo-ftp-repo "ftp://mirror.ovh.net/gentoo-distfiles/distfiles">
|
---|
46 | <!ENTITY fedora-http-repo "http://pkgs.fedoraproject.org/repo/pkgs">
|
---|
47 | <!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
|
---|
48 | <!ENTITY publisher "Unknown">
|
---|
49 | <!--<!ENTITY xorg-download-http "http://xorg.freedesktop.org/archive/individual">-->
|
---|
50 | <!ENTITY xorg-download-http "http://ftp.x.org/pub/individual">
|
---|
51 | <!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual">
|
---|
52 | <!ENTITY mozilla-http "https://ftp.mozilla.org/pub/mozilla.org">
|
---|
53 | <!ENTITY mozilla-ftp "ftp://ftp.mozilla.org/pub">
|
---|
54 | <!ENTITY gnome-download-http "http://ftp.gnome.org/pub/gnome/sources">
|
---|
55 | <!ENTITY gnome-download-ftp "ftp://ftp.gnome.org/pub/gnome/sources">
|
---|
56 | <!ENTITY gnome-minor "3.12">
|
---|
57 | <!ENTITY gnome-minor-14 "3.14">
|
---|
58 | <!ENTITY gnome-minor-16 "3.16">
|
---|
59 |
|
---|
60 | <!-- These entities are used to identify versions of LFS
|
---|
61 | packages referenced throughout the BLFS book. -->
|
---|
62 | <!ENTITY lfs-autoconf-version "2.69">
|
---|
63 | <!ENTITY lfs-coreutils-version "8.23">
|
---|
64 | <!ENTITY lfs-e2fsprogs-version "1.42.11">
|
---|
65 | <!ENTITY lfs-flex-version "2.5.39">
|
---|
66 | <!ENTITY lfs-gcc-version "4.9.1">
|
---|
67 | <!ENTITY lfs-gdbm-version "1.11">
|
---|
68 | <!ENTITY lfs-m4-version "1.4.17">
|
---|
69 | <!-- this was originally the perl version used by the corresponding
|
---|
70 | version of lfs, in those days always for i686, but now BLFS is a rolling
|
---|
71 | release -->
|
---|
72 | <!ENTITY lfs-perl-version "<5.x.y>/<arch-linux>">
|
---|
73 | <!ENTITY lfs-shadow-version "4.2.1">
|
---|
74 | <!ENTITY lfs-vim-version "7.4">
|
---|
75 | <!-- End LFS versions -->
|
---|
76 |
|
---|
77 | <!ENTITY blfs-bootscripts-version "20150304">
|
---|
78 | <!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
|
---|
79 |
|
---|
80 | <!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
|
---|
81 |
|
---|
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 -->
|
---|
84 | <!ENTITY lfs77_checked "<para>This package is known to build and work
|
---|
85 | properly using an LFS-7.7 platform.</para>">
|
---|
86 | <!ENTITY lfs77_built "<para>This package is known to build using an LFS
|
---|
87 | 7.7 platform but has not been tested.</para>">
|
---|
88 |
|
---|
89 | <!ENTITY gcc5_checked "<para>This package is known to build and work
|
---|
90 | properly using the gcc-5 compiler.</para>">
|
---|
91 | <!ENTITY gcc5_built "<para>This package is known to build using the
|
---|
92 | gcc-5 compiler but has not been tested.</para>">
|
---|
93 |
|
---|
94 | <!-- usage: <para>&lfssvn_checked;ccyymmdd&lfssvn_checked2;</para> -->
|
---|
95 | <!ENTITY lfssvn_checked "This package is known to build and work properly
|
---|
96 | using an LFS-SVN-">
|
---|
97 | <!ENTITY lfssvn_checked2 " platform.">
|
---|
98 | <!ENTITY lfssvn_built "This package is known to build using an LFS-SVN-">
|
---|
99 | <!ENTITY lfssvn_built2 " platform but has not been tested.">
|
---|
100 | <!-- End special entities about LFS compatibility -->
|
---|
101 |
|
---|
102 | <!ENTITY as_root "<note><para>When installing multiple packages in a script,
|
---|
103 | the installation needs to be done as the root user. There are three general
|
---|
104 | options that can be used to do this:</para>
|
---|
105 |
|
---|
106 | <orderedlist>
|
---|
107 |
|
---|
108 | <listitem><para>Run the entire script as the root user (not
|
---|
109 | recommended).</para></listitem>
|
---|
110 |
|
---|
111 | <listitem><para>Use the <command>sudo</command> command from the <xref
|
---|
112 | linkend='sudo'/> package.</para></listitem>
|
---|
113 |
|
---|
114 | <listitem><para>Use <command>su -c "command arguments"</command>
|
---|
115 | (quotes required) which will ask for the root password for every iteration
|
---|
116 | of the loop.</para></listitem>
|
---|
117 |
|
---|
118 | </orderedlist>
|
---|
119 |
|
---|
120 | <para>One way to handle this situation is to create a short
|
---|
121 | <command>bash</command> function that automatically selects the appropriate
|
---|
122 | method. Once the command is set in the environment, it does not need to be
|
---|
123 | set again.</para>
|
---|
124 |
|
---|
125 | <screen><userinput>as_root()
|
---|
126 | {
|
---|
127 | if [ $EUID = 0 ]; then $*
|
---|
128 | elif [ -x /usr/bin/sudo ]; then sudo $*
|
---|
129 | else su -c \\"$*\\"
|
---|
130 | fi
|
---|
131 | }
|
---|
132 |
|
---|
133 | export -f as_root</userinput></screen>
|
---|
134 | </note>">
|
---|
135 |
|
---|
136 | <!ENTITY not-katamari "<para>This package is not a part of the Xorg
|
---|
137 | katamari and is provided only as a dependency to
|
---|
138 | other packages or for testing the completed Xorg
|
---|
139 | installation.</para>">
|
---|
140 |
|
---|
141 | <!ENTITY gst-compat "<note><para><application>GStreamer</application> 1.0 series
|
---|
142 | is not API or ABI compatible with
|
---|
143 | <application>GStreamer</application> 0.10 series and both
|
---|
144 | can be installed on the same system.</para></note>">
|
---|
145 |
|
---|
146 |
|
---|
147 | <!-- Problem with some packages introduced by a given dependency version -->
|
---|
148 | <!ENTITY gcc-490 "gcc-4.9.0">
|
---|
149 |
|
---|
150 |
|
---|
151 |
|
---|
152 | <!ENTITY % package-entities SYSTEM "packages.ent">
|
---|
153 | %package-entities;
|
---|