1 | <!-- $LastChangedBy$ $Date$ -->
|
---|
2 |
|
---|
3 | <!ENTITY day "20"> <!-- Always 2 digits -->
|
---|
4 | <!ENTITY month "07"> <!-- 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 "July 20th &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 lxqt-http-repo "http://downloads.lxqt.org/lxqt">
|
---|
49 | <!ENTITY publisher "Unknown">
|
---|
50 | <!--<!ENTITY xorg-download-http "http://xorg.freedesktop.org/archive/individual">-->
|
---|
51 | <!ENTITY xorg-download-http "http://ftp.x.org/pub/individual">
|
---|
52 | <!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual">
|
---|
53 | <!ENTITY mozilla-http "https://ftp.mozilla.org/pub/mozilla.org">
|
---|
54 | <!ENTITY mozilla-ftp "ftp://ftp.mozilla.org/pub">
|
---|
55 | <!ENTITY gnome-download-http "http://ftp.gnome.org/pub/gnome/sources">
|
---|
56 | <!ENTITY gnome-download-ftp "ftp://ftp.gnome.org/pub/gnome/sources">
|
---|
57 | <!ENTITY gnome-minor "3.12">
|
---|
58 | <!ENTITY gnome-minor-14 "3.14">
|
---|
59 | <!ENTITY gnome-minor-16 "3.16">
|
---|
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 "20150304">
|
---|
79 | <!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
|
---|
80 |
|
---|
81 | <!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
|
---|
82 |
|
---|
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 -->
|
---|
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 |
|
---|
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 |
|
---|
95 | <!-- usage: <para>&lfssvn_checked;ccyymmdd&lfssvn_checked2;</para> -->
|
---|
96 | <!ENTITY lfssvn_checked "This package is known to build and work properly
|
---|
97 | using an LFS-SVN-">
|
---|
98 | <!ENTITY lfssvn_checked2 " platform.">
|
---|
99 | <!ENTITY lfssvn_built "This package is known to build using an LFS-SVN-">
|
---|
100 | <!ENTITY lfssvn_built2 " platform but has not been tested.">
|
---|
101 | <!-- End special entities about LFS compatibility -->
|
---|
102 |
|
---|
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
|
---|
117 | of the loop.</para></listitem>
|
---|
118 |
|
---|
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>
|
---|
125 |
|
---|
126 | <screen><userinput>as_root()
|
---|
127 | {
|
---|
128 | if [ $EUID = 0 ]; then $*
|
---|
129 | elif [ -x /usr/bin/sudo ]; then sudo $*
|
---|
130 | else su -c \\"$*\\"
|
---|
131 | fi
|
---|
132 | }
|
---|
133 |
|
---|
134 | export -f as_root</userinput></screen>
|
---|
135 | </note>">
|
---|
136 |
|
---|
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>">
|
---|
141 |
|
---|
142 | <!ENTITY gst-compat "<note><para><application>GStreamer</application> 1.0 series
|
---|
143 | is not API or ABI compatible with
|
---|
144 | <application>GStreamer</application> 0.10 series and both
|
---|
145 | can be installed on the same system.</para></note>">
|
---|
146 |
|
---|
147 |
|
---|
148 | <!-- Problem with some packages introduced by a given dependency version -->
|
---|
149 | <!ENTITY gcc-490 "gcc-4.9.0">
|
---|
150 |
|
---|
151 |
|
---|
152 |
|
---|
153 | <!ENTITY % package-entities SYSTEM "packages.ent">
|
---|
154 | %package-entities;
|
---|
155 |
|
---|
156 | <!ENTITY parallel_issues "<note><para>This package may occasionally fail when
|
---|
157 | building with multiple processors. See <xref
|
---|
158 | linkend='parallel-builds'/> for more information.</para></note>">
|
---|
159 |
|
---|
160 | <!-- KF5 entities -->
|
---|
161 | <!ENTITY kf5-version "5.12.0">
|
---|
162 | <!ENTITY kf5-short-version "5.12">
|
---|
163 | <!ENTITY kf5-base "5.12">
|
---|
164 | <!ENTITY kf5-download-http "http://download.kde.org/stable/frameworks/&kf5-base;">
|
---|
165 | <!ENTITY kf5-download-ftp "ftp://ftp.kde.org/pub/kde/stable/frameworks/&kf5-base;/">
|
---|
166 |
|
---|
167 | <!ENTITY kf5apps-version "15.04.3">
|
---|
168 | <!ENTITY kf5apps-download-http "http://download.kde.org/stable/applications/&kf5apps-version;/src">
|
---|
169 | <!ENTITY kf5apps-download-ftp "ftp://ftp.kde.org/pub/kde/stable/&kf5apps-version;/src">
|
---|
170 |
|
---|