1 | <!-- $LastChangedBy$ $Date$ -->
|
---|
2 |
|
---|
3 | <!ENTITY day "25"> <!-- Always 2 digits -->
|
---|
4 | <!ENTITY month "02"> <!-- Always 2 digits -->
|
---|
5 | <!ENTITY year "2016">
|
---|
6 | <!ENTITY copyrightdate "2001-&year;">
|
---|
7 | <!ENTITY copyholder "The BLFS Development Team">
|
---|
8 | <!ENTITY version "&year;-&month;-&day;">
|
---|
9 | <!ENTITY releasedate "February 25th &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 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 -->
|
---|
24 | <!ENTITY downloads-root "http://www.linuxfromscratch.org/blfs/downloads/svn">
|
---|
25 | <!ENTITY downloads-project "http://downloads.&lfs-domainname;">
|
---|
26 |
|
---|
27 | <!ENTITY sources-anduin-http "http://anduin.linuxfromscratch.org/BLFS">
|
---|
28 | <!ENTITY sources-anduin-ftp "ftp://anduin.linuxfromscratch.org/BLFS">
|
---|
29 |
|
---|
30 | <!ENTITY hints-root "http://www.&lfs-domainname;/hints">
|
---|
31 | <!ENTITY patch-downloads "http://www.linuxfromscratch.org/patches/downloads">
|
---|
32 | <!ENTITY patch-root "http://www.&lfs-domainname;/patches/blfs/svn">
|
---|
33 | <!ENTITY errata "http://www.&lfs-domainname;/blfs/errata/&blfs-version;/">
|
---|
34 | <!ENTITY blfs-ticket-root "http://wiki.&lfs-domainname;/blfs/ticket/">
|
---|
35 |
|
---|
36 | <!ENTITY lfs-root "../../../../lfs/view/&lfs-version;">
|
---|
37 | <!ENTITY lfs-dev "../../../../lfs/view/development">
|
---|
38 | <!ENTITY kernel "http://www.kernel.org/pub/">
|
---|
39 | <!ENTITY gstreamer-dl "http://gstreamer.freedesktop.org/src">
|
---|
40 | <!ENTITY gnu-alpha-ftp "ftp://alpha.gnu.org/gnu/">
|
---|
41 | <!ENTITY gnu-alpha-http "http://alpha.gnu.org/gnu/">
|
---|
42 | <!ENTITY sourceforge-repo "http://downloads.sourceforge.net">
|
---|
43 | <!ENTITY sourceforge-repo2 "http://sourceforge.net">
|
---|
44 | <!ENTITY gentoo-ftp-repo "ftp://mirror.ovh.net/gentoo-distfiles/distfiles">
|
---|
45 | <!ENTITY fedora-http-repo "http://pkgs.fedoraproject.org/repo/pkgs">
|
---|
46 | <!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
|
---|
47 | <!ENTITY lxqt-http-repo "http://downloads.lxqt.org/lxqt">
|
---|
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 | <!ENTITY gnome-minor-18 "3.18">
|
---|
60 |
|
---|
61 | <!-- These entities are used to identify versions of LFS
|
---|
62 | packages referenced throughout the BLFS book. -->
|
---|
63 | <!ENTITY lfs-autoconf-version "2.69">
|
---|
64 | <!ENTITY lfs-coreutils-version "8.23">
|
---|
65 | <!ENTITY lfs-e2fsprogs-version "1.42.11">
|
---|
66 | <!ENTITY lfs-flex-version "2.5.39">
|
---|
67 | <!ENTITY lfs-gcc-version "4.9.1">
|
---|
68 | <!ENTITY lfs-gdbm-version "1.11">
|
---|
69 | <!ENTITY lfs-m4-version "1.4.17">
|
---|
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>">
|
---|
74 | <!ENTITY lfs-shadow-version "4.2.1">
|
---|
75 | <!ENTITY lfs-vim-version "7.4">
|
---|
76 | <!-- End LFS versions -->
|
---|
77 |
|
---|
78 | <!ENTITY blfs-bootscripts-version "20150924">
|
---|
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 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 |
|
---|
89 | <!ENTITY lfs79_checked "<para>This package is known to build and work
|
---|
90 | properly using an LFS-7.9 platform.</para>">
|
---|
91 | <!ENTITY lfs79_built "<para>This package is known to build using an LFS
|
---|
92 | 7.9 platform 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 | <!-- Problem with some packages introduced by a given dependency version -->
|
---|
142 | <!ENTITY gcc-490 "gcc-4.9.0">
|
---|
143 |
|
---|
144 |
|
---|
145 |
|
---|
146 | <!ENTITY % package-entities SYSTEM "packages.ent">
|
---|
147 | %package-entities;
|
---|
148 |
|
---|
149 | <!ENTITY parallel_issues "<note><para>This package may occasionally fail when
|
---|
150 | building with multiple processors. See <xref
|
---|
151 | linkend='parallel-builds'/> for more information.</para></note>">
|
---|
152 |
|
---|