source: gnome/core/pre-install-config.xml@ ae60cb76

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ae60cb76 was 5befe2d, checked in by Ken Moffat <ken@…>, 12 years ago

Add download-sizes for empathy and eog, and note in gnome/pre-install-config that instructions with '??' or lacking an LFS-7.0 tag are work in progress.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9367 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="gnome-pre-install-config">
9 <?dbhtml filename="pre-install-config.html"?>
10
11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14 </sect1info>
15
16 <title>Pre-installation Configuration</title>
17
18<!-- FIXME:ken -->
19<note>
20<para>The <application>GNOME</application> packages in this book are being
21updated to <application>GNOME-3</application>. At the moment, the instructions
22and links for many <application>GNOME</application> packages are probably
23broken. Please consult the archives for the BLFS-support mailing list, from
24January 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>
27<para>If a package has &apos;??&apos; for the estimated disk space or SBU,
28you may resonably conclude that the instructions are work in progress. Similarly
29where the package lacks a tag saying it has been built with LFS-7.0.</para>
30</note>
31
32 <para>Set an environment variable to resolve the prefix destination.</para>
33
34 <para>If <application>GNOME</application> is your desktop of choice:</para>
35
36<screen><userinput>cat &gt; /etc/profile.d/gnome.sh &lt;&lt; "EOF" &amp;&amp;
37<literal>export GNOME_PREFIX=/usr
38export GNOME_SYSCONFDIR=&gnome-etc-dir;
39export XDG_CONFIG_DIRS=$GNOME_SYSCONFDIR/xdg
40export XDG_DATA_DIRS=/usr/share:/usr/local/share</literal>
41EOF
42. /etc/profile.d/gnome.sh</userinput></screen>
43
44
45 <para>If you want to try-out <application>GNOME</application>, or install
46 it in an easy-to-remove location:</para>
47
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
57<screen role='root'><userinput>install -v -m755 -d /opt/gnome-&gnome-version;&gnome-minor-version; &amp;&amp;
58ln -v -s gnome-&gnome-version;&gnome-minor-version; /opt/gnome</userinput></screen>
59 </note>
60
61 <para>If you created the symbolic link, change all instances of <filename
62 class='directory'>/opt/gnome-&gnome-version;&gnome-minor-version;</filename>
63 to <filename class='directory'>/opt/gnome</filename> in the instructions
64 below.</para>
65
66<screen><userinput>export GNOME_PREFIX=/opt/gnome-&gnome-version;&gnome-minor-version;</userinput></screen>
67
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
73<screen><literal>export PATH=$PATH:/opt/gnome-&gnome-version;&gnome-minor-version;/bin
74export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-&gnome-version;&gnome-minor-version;/lib/pkgconfig
75export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-&gnome-version;&gnome-minor-version;/share/pkgconfig
76export GNOME_LIBCONFIG_PATH=/usr/lib:/opt/gnome-&gnome-version;&gnome-minor-version;/lib
77export PYTHONPATH=$PYTHONPATH:/opt/gnome-&gnome-version;&gnome-minor-version;/lib/python&python2-majorver;/site-packages</literal></screen>
78
79 <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
80
81<screen role='root'><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
82<literal># Begin gnome addition to /etc/ld.so.conf
83
84/opt/gnome-&gnome-version;&gnome-minor-version;/lib
85
86# End gnome addition</literal>
87EOF</userinput></screen>
88
89 <para>Add to your <filename>/etc/man_db.conf</filename>:</para>
90
91<screen role='root'><userinput>cat &gt;&gt; /etc/man_db.conf &lt;&lt; "EOF"
92<literal># Begin gnome addition to man_db.conf
93
94MANDATORY_MANPATH /opt/gnome-&gnome-version;&gnome-minor-version;/share/man
95
96# End gnome addition to man_db.conf</literal>
97EOF</userinput></screen>
98
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
105</sect1>
Note: See TracBrowser for help on using the repository browser.