2013-08-01 05:24:26 +08:00
|
|
|
<!-- $LastChangedBy$ $Date$ -->
|
2007-01-19 03:38:19 +08:00
|
|
|
|
2014-12-03 19:03:21 +08:00
|
|
|
<!ENTITY day "03"> <!-- Always 2 digits -->
|
2014-12-02 00:23:25 +08:00
|
|
|
<!ENTITY month "12"> <!-- Always 2 digits -->
|
2014-01-01 06:23:08 +08:00
|
|
|
<!ENTITY year "2014">
|
2008-05-29 02:11:38 +08:00
|
|
|
<!ENTITY copyrightdate "2001-&year;">
|
|
|
|
<!ENTITY copyholder "The BLFS Development Team">
|
2011-11-10 01:37:35 +08:00
|
|
|
<!ENTITY version "&year;-&month;-&day;">
|
2014-12-03 19:03:21 +08:00
|
|
|
<!ENTITY releasedate "December 3rd, &year;">
|
2004-06-21 06:00:15 +08:00
|
|
|
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
2005-05-22 20:47:24 +08:00
|
|
|
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
2014-03-06 09:33:43 +08:00
|
|
|
<!ENTITY lfs-version "development"> <!-- x.y|development] -->
|
2005-09-07 08:49:38 +08:00
|
|
|
<!ENTITY last-commit "$Date$"> <!-- Automatic update -->
|
2007-01-17 20:57:47 +08:00
|
|
|
<!ENTITY lfs-domainname "linuxfromscratch.org">
|
2005-05-22 20:47:24 +08:00
|
|
|
|
2012-07-05 00:44:27 +08:00
|
|
|
<!ENTITY maintainer-fullname "The BLFS Team">
|
|
|
|
<!ENTITY maintainer-firstname "BLFS">
|
2012-02-06 13:15:51 +08:00
|
|
|
<!ENTITY maintainer-address "blfs-maintainer@&lfs-domainname;">
|
2007-01-17 20:57:47 +08:00
|
|
|
|
2014-02-18 04:22:24 +08:00
|
|
|
<!ENTITY lfs-website "http://www.&lfs-domainname;">
|
2014-03-07 10:55:22 +08:00
|
|
|
<!-- downloads - root must not have an entity because it is needed for scripts
|
2014-03-07 00:14:24 +08:00
|
|
|
change svn to x.y for release -->
|
|
|
|
<!ENTITY downloads-root "http://www.linuxfromscratch.org/blfs/downloads/svn">
|
2007-01-17 20:57:47 +08:00
|
|
|
<!ENTITY downloads-project "http://downloads.&lfs-domainname;">
|
2008-04-09 07:23:58 +08:00
|
|
|
<!ENTITY sources-anduin-http "http://anduin.&lfs-domainname;/sources/BLFS/svn">
|
|
|
|
<!ENTITY sources-anduin-ftp "ftp://anduin.&lfs-domainname;/BLFS/svn">
|
2013-03-19 03:44:11 +08:00
|
|
|
<!ENTITY sources-anduin-other-http "http://anduin.&lfs-domainname;/sources/other">
|
2011-11-20 14:37:03 +08:00
|
|
|
<!ENTITY sources-anduin-other "ftp://anduin.&lfs-domainname;/other">
|
2008-04-09 07:24:04 +08:00
|
|
|
<!ENTITY files-anduin "http://anduin.&lfs-domainname;/files/BLFS/svn">
|
2007-01-17 20:57:47 +08:00
|
|
|
<!ENTITY hints-root "http://www.&lfs-domainname;/hints">
|
2012-08-27 00:53:50 +08:00
|
|
|
<!ENTITY patch-downloads "http://www.linuxfromscratch.org/patches/downloads">
|
2008-04-09 07:23:58 +08:00
|
|
|
<!ENTITY patch-root "http://www.&lfs-domainname;/patches/blfs/svn">
|
2007-01-17 20:57:47 +08:00
|
|
|
<!ENTITY errata "http://www.&lfs-domainname;/blfs/errata/&blfs-version;/">
|
2010-08-01 10:31:10 +08:00
|
|
|
<!ENTITY blfs-ticket-root "http://wiki.&lfs-domainname;/blfs/ticket/">
|
2007-01-17 20:57:47 +08:00
|
|
|
<!-- <!ENTITY lfs-root "http://www.&lfs-domainname;/lfs/view/&lfs-version;"> -->
|
|
|
|
<!ENTITY lfs-root "../../../../lfs/view/&lfs-version;">
|
2010-03-24 10:13:27 +08:00
|
|
|
<!ENTITY lfs-dev "../../../../lfs/view/development">
|
2012-02-09 07:57:52 +08:00
|
|
|
<!ENTITY kernel "http://www.kernel.org/pub/">
|
2012-09-04 06:01:54 +08:00
|
|
|
<!ENTITY gstreamer-dl "http://gstreamer.freedesktop.org/src">
|
2011-10-20 04:18:40 +08:00
|
|
|
<!ENTITY gnu-alpha-ftp "ftp://alpha.gnu.org/gnu/">
|
|
|
|
<!ENTITY gnu-alpha-http "http://alpha.gnu.org/gnu/">
|
2014-11-06 04:22:11 +08:00
|
|
|
<!ENTITY sourceforge-repo "http://downloads.sourceforge.net">
|
2011-01-04 09:41:07 +08:00
|
|
|
<!ENTITY sourceforge-repo2 "http://sourceforge.net">
|
2009-07-23 23:53:56 +08:00
|
|
|
<!ENTITY gentoo-ftp-repo "ftp://mirror.ovh.net/gentoo-distfiles/distfiles">
|
2014-08-18 08:05:56 +08:00
|
|
|
<!ENTITY fedora-http-repo "http://pkgs.fedoraproject.org/repo/pkgs">
|
2013-05-13 00:46:18 +08:00
|
|
|
<!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
|
2007-01-17 20:57:47 +08:00
|
|
|
<!ENTITY publisher "Unknown">
|
2013-07-31 00:18:52 +08:00
|
|
|
<!ENTITY xorg-download-http "http://xorg.freedesktop.org/archive/individual">
|
2012-07-11 01:04:23 +08:00
|
|
|
<!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual">
|
2012-09-12 22:44:38 +08:00
|
|
|
<!ENTITY mozilla-http "http://releases.mozilla.org/pub/mozilla.org">
|
|
|
|
<!ENTITY mozilla-ftp "ftp://ftp.mozilla.org/pub/mozilla.org">
|
2013-08-21 01:31:41 +08:00
|
|
|
<!ENTITY gnome-download-http "http://ftp.gnome.org/pub/gnome/sources">
|
|
|
|
<!ENTITY gnome-download-ftp "ftp://ftp.gnome.org/pub/gnome/sources">
|
2014-04-04 04:50:44 +08:00
|
|
|
<!ENTITY gnome-minor "3.12">
|
2014-09-29 04:19:18 +08:00
|
|
|
<!ENTITY gnome-minor-14 "3.14">
|
2004-06-10 10:40:59 +08:00
|
|
|
|
2006-03-28 07:17:00 +08:00
|
|
|
<!-- These entities are used to identify versions of LFS
|
2007-09-07 03:24:00 +08:00
|
|
|
packages referenced throughout the BLFS book. -->
|
2014-04-29 14:09:41 +08:00
|
|
|
<!ENTITY lfs-autoconf-version "2.69">
|
2014-07-23 04:40:48 +08:00
|
|
|
<!ENTITY lfs-coreutils-version "8.23">
|
|
|
|
<!ENTITY lfs-e2fsprogs-version "1.42.11">
|
2014-04-29 14:09:41 +08:00
|
|
|
<!ENTITY lfs-flex-version "2.5.39">
|
2014-07-23 04:40:48 +08:00
|
|
|
<!ENTITY lfs-gcc-version "4.9.1">
|
2014-04-29 14:09:41 +08:00
|
|
|
<!ENTITY lfs-gdbm-version "1.11">
|
|
|
|
<!ENTITY lfs-m4-version "1.4.17">
|
2012-07-28 23:39:53 +08:00
|
|
|
<!-- this was originally the perl version used by the corresponding
|
|
|
|
version of lfs, in those days always for i686, but now BLFS is a rolling
|
|
|
|
release -->
|
|
|
|
<!ENTITY lfs-perl-version "<5.x.y>/<arch-linux>">
|
2014-05-15 04:59:56 +08:00
|
|
|
<!ENTITY lfs-shadow-version "4.2.1">
|
2013-08-12 02:19:39 +08:00
|
|
|
<!ENTITY lfs-vim-version "7.4">
|
2006-03-28 07:17:00 +08:00
|
|
|
<!-- End LFS versions -->
|
2004-06-10 10:40:59 +08:00
|
|
|
|
2014-11-12 14:59:38 +08:00
|
|
|
<!ENTITY blfs-bootscripts-version "20141112">
|
2004-06-14 03:03:42 +08:00
|
|
|
<!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
|
2005-05-22 20:47:24 +08:00
|
|
|
|
2007-01-17 20:57:47 +08:00
|
|
|
<!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
|
2006-01-27 00:14:43 +08:00
|
|
|
|
2009-07-26 22:30:45 +08:00
|
|
|
<!-- These entities are used to annotate the current status of a package as it
|
|
|
|
relates to the version of LFS it will build/work against -->
|
2014-08-08 05:05:50 +08:00
|
|
|
<!ENTITY lfs76_checked "<para>This package is known to build and work
|
|
|
|
properly using an LFS-7.6 platform.</para>">
|
|
|
|
<!ENTITY lfs76_built "<para>This package is known to build using an LFS
|
|
|
|
7.6 platform but has not been tested.</para>">
|
|
|
|
|
2010-11-02 21:44:52 +08:00
|
|
|
<!-- usage: <para>&lfssvn_checked;ccyymmdd&lfssvn_checked2;</para> -->
|
2010-08-07 06:25:46 +08:00
|
|
|
<!ENTITY lfssvn_checked "This package is known to build and work properly
|
2010-11-02 21:44:52 +08:00
|
|
|
using an LFS-SVN-">
|
2010-08-07 23:22:02 +08:00
|
|
|
<!ENTITY lfssvn_checked2 " platform.">
|
2010-11-02 21:44:52 +08:00
|
|
|
<!ENTITY lfssvn_built "This package is known to build using an LFS-SVN-">
|
2010-08-07 23:22:02 +08:00
|
|
|
<!ENTITY lfssvn_built2 " platform but has not been tested.">
|
2009-07-26 22:30:45 +08:00
|
|
|
<!-- End special entities about LFS compatibility -->
|
|
|
|
|
2012-10-11 05:35:16 +08:00
|
|
|
<!ENTITY as_root "<note><para>When installing multiple packages in a script,
|
|
|
|
the installation needs to be done as the root user. There are three general
|
|
|
|
options that can be used to do this:</para>
|
|
|
|
|
|
|
|
<orderedlist>
|
|
|
|
|
|
|
|
<listitem><para>Run the entire script as the root user (not
|
|
|
|
recommended).</para></listitem>
|
|
|
|
|
|
|
|
<listitem><para>Use the <command>sudo</command> command from the <xref
|
|
|
|
linkend='sudo'/> package.</para></listitem>
|
|
|
|
|
|
|
|
<listitem><para>Use <command>su -c "command arguments"</command>
|
|
|
|
(quotes required) which will ask for the root password for every iteration
|
2013-02-12 02:51:17 +08:00
|
|
|
of the loop.</para></listitem>
|
|
|
|
|
2012-10-11 05:35:16 +08:00
|
|
|
</orderedlist>
|
|
|
|
|
|
|
|
<para>One way to handle this situation is to create a short
|
|
|
|
<command>bash</command> function that automatically selects the appropriate
|
|
|
|
method. Once the command is set in the environment, it does not need to be
|
|
|
|
set again.</para>
|
2013-02-12 02:51:17 +08:00
|
|
|
|
2012-10-11 05:35:16 +08:00
|
|
|
<screen><userinput>as_root()
|
|
|
|
{
|
|
|
|
if [ $EUID = 0 ]; then $*
|
|
|
|
elif [ -x /usr/bin/sudo ]; then sudo $*
|
|
|
|
else su -c \\"$*\\"
|
2013-02-12 02:51:17 +08:00
|
|
|
fi
|
2012-10-11 05:35:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export -f as_root</userinput></screen>
|
|
|
|
</note>">
|
2012-07-30 11:02:54 +08:00
|
|
|
|
2012-06-12 10:16:18 +08:00
|
|
|
<!ENTITY not-katamari "<para>This package is not a part of the Xorg
|
|
|
|
katamari and is provided only as a dependency to
|
|
|
|
other packages or for testing the completed Xorg
|
|
|
|
installation.</para>">
|
2012-10-01 13:54:32 +08:00
|
|
|
|
|
|
|
<!ENTITY gst-compat "<note><para><application>GStreamer</application> 1.0 series
|
2012-10-12 03:28:24 +08:00
|
|
|
is not API or ABI compatible with
|
2012-10-01 13:54:32 +08:00
|
|
|
<application>GStreamer</application> 0.10 series and both
|
2012-10-12 03:28:24 +08:00
|
|
|
can be installed on the same system.</para></note>">
|
2012-10-01 13:54:32 +08:00
|
|
|
|
2014-08-06 22:52:27 +08:00
|
|
|
|
|
|
|
<!-- Problem with some packages introduced by a given dependency version -->
|
|
|
|
<!ENTITY gcc-490 "gcc-4.9.0">
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-21 00:05:48 +08:00
|
|
|
<!ENTITY % package-entities SYSTEM "packages.ent">
|
|
|
|
%package-entities;
|