mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
e68cc1cd79
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@871 af4574ff-66df-0310-9fd7-8a98e5e911e0
63 lines
3.7 KiB
XML
63 lines
3.7 KiB
XML
<partintro>
|
|
<title>Introduction to Gnome</title>
|
|
|
|
<para>This chapter attempts to install a complete Gnome-&gnome-version; desktop
|
|
environment and a limited Gnome 1.4 library environment that is
|
|
sufficient to run Gnome 1.4 applications included in this book. The
|
|
order of the pages are meant to follow the build order defined by the
|
|
Gnome development team as published in the <ulink
|
|
url="http://www.gnome.org/start/&gnome-version;/notes/rninstallation.html">release notes</ulink>, with two exceptions. If a package is in the release notes build list, but not in this chapter, it has been installed elsewhere in the book.</para>
|
|
|
|
<para>The installation of Gnome-&gnome-version; is a large undertaking and one we would
|
|
like to see you complete with the least amount of stress. One
|
|
of our first goals in this installation is to protect your previously
|
|
installed software, especially if you are testing Gnome on your machine.
|
|
Gnome-&gnome-version; packages utilize the --prefix= option for configure, so we will
|
|
use that and an Environment variable (<envar>GNOME_PREFIX</envar>) to add flexibility to
|
|
the install.</para>
|
|
|
|
<para>If you know that you want Gnome as your desktop, it is recommended that
|
|
you install with --prefix=/usr. If you are not sure that you are going
|
|
to keep Gnome on your installation, it is recommended that you install with
|
|
--prefix=/opt/gnome-&gnome-version;. Setting the Environment variable and the
|
|
additional edits required by the second option are covered on the
|
|
pre-installation page.</para>
|
|
|
|
<para>If you choose the second option, removal of Gnome-2.2 is as easy as removing the edits from the pre-installation page and issue the following command:
|
|
<screen><userinput>rm /opt/gnome-&gnome-version; -r </userinput></screen></para>
|
|
|
|
<para>If your system was completely built per LFS and BLFS
|
|
instructions, you have a very good chance of using Gnome-&gnome-version;
|
|
after your first install. If you are a typical LFS user, you have made
|
|
modifications to the instructions along the way knowing that you have to
|
|
take those modifications into account on future installations. You
|
|
should have no problems integrating Gnome-&gnome-version; into your unique setup, but
|
|
you will have 28 to 33 packages installed before you can run Gnome
|
|
through any testing (assuming your window manager is preinstalled and
|
|
tested). We would anticipate that you will be rebuilding gnome at least
|
|
once to make adjustments for your setup.</para>
|
|
|
|
<para>If you are building a Gnome 1.4 desktop environment, you would
|
|
install only those libraries in the Gnome 1.4 chapter <emphasis>and</emphasis> any dependencies listed on those pages whether labeled or not. Gnome packages without pages are simply installed with:
|
|
<screen><userinput>./configure --prefix=/opt/gnome &&
|
|
make &&
|
|
make install</userinput></screen>
|
|
These instructions are simplistic to facilitate removal of Gnome 1.4
|
|
from BLFS systems when it is no longer necessary. These instructions
|
|
may be refined later to comply with BLFS standards for file locations,
|
|
specifically <filename class='directory'>/opt/gnome/etc</filename> to
|
|
<filename class='directory'>/etc</filename> and <filename
|
|
class='directory'>/opt/gnome/var</filename> to
|
|
<filename class='directory'>/var</filename>. You should consider using the Gnome 1.4 hint
|
|
located at <ulink url="http://hints.linuxfromscratch.org/hints"/> if you
|
|
have no interest in Gnome-&gnome-version;.</para>
|
|
|
|
<para><screen>Gnome-&gnome-version; requires:
|
|
<xref linkend="xfree86"/>, <xref linkend="GTK2"/>, <xref linkend="libpng"/>,
|
|
<xref linkend="libjpeg"/>, <xref linkend="libtiff"/>, <xref linkend="popt"/>
|
|
Gnome-&gnome-version; will utilize:
|
|
<xref linkend="libxml2"/>, <xref linkend="libxslt"/>, <xref linkend="DocBook"/>,
|
|
<xref linkend="docbook-xsl"/> and <xref linkend="libfam"/></screen></para>
|
|
|
|
</partintro>
|