Typo
[linux_from_scratch_hints.git] / OLD / enlightenment.txt
blob622d86abf8cc024085c18069ba48b923a5f5037b
1 TITLE:          Enlightenment-hint
2 LFS VERSION:    3.0
3 AUTHOR:         Jason M'Sadoques <jsado@(nospam)mediaone.net>
5 SYNOPSIS:
6         How to add the Enlightenment window manager to your X-configured LFS system.
8 HINT:
9 Contents:
10 1. Introduction
11 2. Packages
12 3. Installation
14 1. Introduction
16 This hint describes the process to go through to install the Enlightenment
17 window manager on a LFS system. It is basically a straight forward install, but
18 some libraries needed to be made a bit differently than most packages, and some
19 files are harder to find than others. Also, order is important. Where you see
20 ^OPT^ replace that with the optimizations you want to use. For instance on my
21 AMD K6-2 machine I use '-O3 -march=k6' without any problems.
23 2. Packages
25 These are the packages you will need. All of these sites at least have
26 anonymouse ftp access, but might not have web access.
28 enlightenment-0.16.5.tar.gz
29 at ftp.enlightenment.org/enlightenment/enlightenment
31 imlib-1.9.8.tar.gz
32 fnlib-0.5.tar.gz
33 giflib-3.0-2.tar.gz
34 at ftp.enlightenment.org/enlightenment/enlightenment/libs
36 libpng-1.0.10.tar.gz
37 at swrinde.nde.swri.edu/pub/png/src
39 tiff-v3.5.5.tar.gz
40 at ftp.remotesensing.org/pub/libtiff
42 jpegsrc.v6b.tar.gz
43 at www.xfig.org/jpeg
45 (This one may not be needed, but I got it just in case.)
46 libungif-4.1.0
47 at prtr-13.ucsc.edu/pug/libungif
49 3. Installation
51 Unpack each file in turn, and enter it's directory. First the image libraries
52 will be built, then imlib, fnlib, and finally Enlightenment itself.
54 libpng:
56 run:
57 cp scripts/makefile.linux makefile
59 run:
60 make CFLAGS='^OPT^' CXXFLAGS='^OPT^' &&
61 make &&
62 ./pngtest &&
63 make install
65 libtiff:
67 If you want the documentation then run:
68 mkdir /usr/share/html
70 Edit the configure file. Find DIR_HTML= and change set it to
71 /usr/share/html/tiff. Find HTML= and set it to yes. Find the line : ${ENVOPTS=}
72 and add your optimizations after the '='. Find GCOPTS="-g" and remove the -g.
73 Find DIR_BIN, DIR_LIB, DIR_INC, MANPATH, and DIR_MAN and remove the "local/"
74 from the directory.
76 run:
77 ./configure &&
78 make &&
79 make install
81 libjpeg:
83 run:
84 ./configure --prefix=/usr --enable-static --enable-shared &&
85 make &&
86 make install
88 giflib:
90 Edit both lib/Makefile and util/Makefile find the uncommented CFLAGS= line
91 (without the # in front of it), and add your optimizations to that line. Be
92 sure to remove the -g to keep your code small (it enables debugging).
94 run:
95 make &&
96 make install
98 libungif:
100 run:
101 ./configure --prefix=/usr &&
102 make &&
103 make install
105 imlib:
107 run:
108 ./configure --prefix=/usr &&
109 make &&
110 make install
112 fnlib:
114 run:
115 ./configure --prefix=/usr &&
116 make &&
117 make install
119 Enlightenment:
121 run:
122 ./configure --prefix=/usr &&
123 make &&
124 make install
126 Now you need to log in as a normal user. In your home directory edit your
127 .xinitrc file. If it exists, look for "exec fvwm" as the last line of the file.
128 Replace that line with exec /usr/enlightenment/bin/enlightenment. If the file
129 doesn't exist, then just create the file with that one line.
131 run:
132 chmod +x .xinitrc