[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[85b98c3] | 8 | <sect1 id="gnome-pre-install-config">
|
---|
[9ad96f5] | 9 | <?dbhtml filename="pre-install-config.html"?>
|
---|
[d1ea01e3] | 10 |
|
---|
[15a1fed9] | 11 | <sect1info>
|
---|
| 12 | <othername>$LastChangedBy$</othername>
|
---|
| 13 | <date>$Date$</date>
|
---|
| 14 | </sect1info>
|
---|
[23abb34] | 15 |
|
---|
[9ad96f5] | 16 | <title>Pre-installation Configuration</title>
|
---|
[23abb34] | 17 |
|
---|
[8d3eae9] | 18 | <!-- FIXME:ken -->
|
---|
| 19 | <note>
|
---|
| 20 | <para>The <application>GNOME</application> packages in this book are being
|
---|
| 21 | updated to <application>GNOME-3</application>. At the moment, the instructions
|
---|
[91953bc] | 22 | and links for many <application>GNOME</application> packages are probably
|
---|
[8d3eae9] | 23 | broken. Please consult the archives for the BLFS-support mailing list, from
|
---|
| 24 | January 24th 2012 onwards, for pointers to the old
|
---|
| 25 | <application>GNOME-2</application> book and for where to look when building
|
---|
| 26 | <application>GNOME-3</application>.</para>
|
---|
[5befe2d] | 27 | <para>If a package has '??' for the estimated disk space or SBU,
|
---|
| 28 | you may resonably conclude that the instructions are work in progress. Similarly
|
---|
| 29 | where the package lacks a tag saying it has been built with LFS-7.0.</para>
|
---|
[8d3eae9] | 30 | </note>
|
---|
| 31 |
|
---|
[15a1fed9] | 32 | <para>Set an environment variable to resolve the prefix destination.</para>
|
---|
[23abb34] | 33 |
|
---|
[9ad96f5] | 34 | <para>If <application>GNOME</application> is your desktop of choice:</para>
|
---|
[23abb34] | 35 |
|
---|
[8d3eae9] | 36 | <screen><userinput>cat > /etc/profile.d/gnome.sh << "EOF" &&
|
---|
| 37 | <literal>export GNOME_PREFIX=/usr
|
---|
| 38 | export GNOME_SYSCONFDIR=&gnome-etc-dir;
|
---|
| 39 | export XDG_CONFIG_DIRS=$GNOME_SYSCONFDIR/xdg
|
---|
| 40 | export XDG_DATA_DIRS=/usr/share:/usr/local/share</literal>
|
---|
| 41 | EOF
|
---|
| 42 | . /etc/profile.d/gnome.sh</userinput></screen>
|
---|
| 43 |
|
---|
[26a12b5] | 44 |
|
---|
[9ad96f5] | 45 | <para>If you want to try-out <application>GNOME</application>, or install
|
---|
[3b269b9] | 46 | it in an easy-to-remove location:</para>
|
---|
[b394e5f7] | 47 |
|
---|
[9761bea4] | 48 | <note>
|
---|
| 49 | <para>You may wish to create a symbolic link to the actual versioned
|
---|
| 50 | directory using a non-versioned name. This has the advantage of an easier
|
---|
| 51 | path to type in all the changes below and also makes it easy to point
|
---|
| 52 | to a different/newer version of GNOME without changing all the edits
|
---|
| 53 | below. If you wish to use a non-versioned name in the changes below,
|
---|
| 54 | issue the following commands as the
|
---|
| 55 | <systemitem class='username'>root</systemitem> user:</para>
|
---|
| 56 |
|
---|
[790998f] | 57 | <screen role='root'><userinput>install -v -m755 -d /opt/gnome-&gnome-version;&gnome-minor-version; &&
|
---|
| 58 | ln -v -s gnome-&gnome-version;&gnome-minor-version; /opt/gnome</userinput></screen>
|
---|
[9761bea4] | 59 | </note>
|
---|
| 60 |
|
---|
| 61 | <para>If you created the symbolic link, change all instances of <filename
|
---|
[790998f] | 62 | class='directory'>/opt/gnome-&gnome-version;&gnome-minor-version;</filename>
|
---|
[9761bea4] | 63 | to <filename class='directory'>/opt/gnome</filename> in the instructions
|
---|
| 64 | below.</para>
|
---|
[d1ea01e3] | 65 |
|
---|
[790998f] | 66 | <screen><userinput>export GNOME_PREFIX=/opt/gnome-&gnome-version;&gnome-minor-version;</userinput></screen>
|
---|
[d1ea01e3] | 67 |
|
---|
[15a1fed9] | 68 | <para>The try-out group will also need to make all the following
|
---|
| 69 | configuration changes:</para>
|
---|
| 70 |
|
---|
| 71 | <para>Add to your system or personal profile:</para>
|
---|
| 72 |
|
---|
[790998f] | 73 | <screen><literal>export PATH=$PATH:/opt/gnome-&gnome-version;&gnome-minor-version;/bin
|
---|
| 74 | export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-&gnome-version;&gnome-minor-version;/lib/pkgconfig
|
---|
| 75 | export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-&gnome-version;&gnome-minor-version;/share/pkgconfig
|
---|
[4a96d460] | 76 | export GNOME_LIBCONFIG_PATH=/usr/lib:/opt/gnome-&gnome-version;&gnome-minor-version;/lib
|
---|
[b88be39] | 77 | export PYTHONPATH=$PYTHONPATH:/opt/gnome-&gnome-version;&gnome-minor-version;/lib/python&python2-majorver;/site-packages</literal></screen>
|
---|
[d1ea01e3] | 78 |
|
---|
[15a1fed9] | 79 | <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
|
---|
[d1ea01e3] | 80 |
|
---|
[9ad96f5] | 81 | <screen role='root'><userinput>cat >> /etc/ld.so.conf << "EOF"
|
---|
[15a1fed9] | 82 | <literal># Begin gnome addition to /etc/ld.so.conf
|
---|
[d1ea01e3] | 83 |
|
---|
[790998f] | 84 | /opt/gnome-&gnome-version;&gnome-minor-version;/lib
|
---|
[d1ea01e3] | 85 |
|
---|
[15a1fed9] | 86 | # End gnome addition</literal>
|
---|
[9ad96f5] | 87 | EOF</userinput></screen>
|
---|
[d1ea01e3] | 88 |
|
---|
[58c6057] | 89 | <para>Add to your <filename>/etc/man_db.conf</filename>:</para>
|
---|
[d1ea01e3] | 90 |
|
---|
[58c6057] | 91 | <screen role='root'><userinput>cat >> /etc/man_db.conf << "EOF"
|
---|
| 92 | <literal># Begin gnome addition to man_db.conf
|
---|
[d1ea01e3] | 93 |
|
---|
[790998f] | 94 | MANDATORY_MANPATH /opt/gnome-&gnome-version;&gnome-minor-version;/share/man
|
---|
[d1ea01e3] | 95 |
|
---|
[58c6057] | 96 | # End gnome addition to man_db.conf</literal>
|
---|
[9ad96f5] | 97 | EOF</userinput></screen>
|
---|
[d1ea01e3] | 98 |
|
---|
[9761bea4] | 99 | <tip>
|
---|
| 100 | <para>Remember to execute <command>ldconfig</command> as the
|
---|
| 101 | <systemitem class='username'>root</systemitem> user after installation of
|
---|
| 102 | libraries to update the linker's library cache.</para>
|
---|
| 103 | </tip>
|
---|
| 104 |
|
---|
[d1ea01e3] | 105 | </sect1>
|
---|