diff options
author | Gareth Halfacree <freelance@halfacree.co.uk> | 2018-01-05 07:44:37 -0800 |
---|---|---|
committer | apache <apache@e5-web1.enlightenment.org> | 2018-01-05 07:44:37 -0800 |
commit | 99d5d959a2d212333e61e162325529a363e911c9 (patch) | |
tree | d5aa0dc863e272bfb750d15e0ad6ab9b7092ea4e /pages/docs/distros/debian-start.txt | |
parent | cf1e5a88856f401f618e305dfc11cf3f02fcce52 (diff) |
Wiki page navigation changed with summary [] by Gareth Halfacree
Diffstat (limited to '')
-rw-r--r-- | pages/docs/distros/debian-start.txt | 158 |
1 files changed, 0 insertions, 158 deletions
diff --git a/pages/docs/distros/debian-start.txt b/pages/docs/distros/debian-start.txt deleted file mode 100644 index c60485a63..000000000 --- a/pages/docs/distros/debian-start.txt +++ /dev/null | |||
@@ -1,158 +0,0 @@ | |||
1 | ~~Title: EFL on Debian~~ | ||
2 | ===== Debian ===== | ||
3 | |||
4 | Enlightenment and EFL Debian official packages are outdated. | ||
5 | |||
6 | Two ways are possible : install from the sources, or install from the debian experimental repository. | ||
7 | |||
8 | To start Enlightenment, see the run-time requirements below. | ||
9 | |||
10 | ==== Install from the sources ==== | ||
11 | |||
12 | In this part, the installation for Debian is done from sources like in the [[/docs/distros/|Get EFL installed]] tutorial. | ||
13 | |||
14 | The following part provides a script and shows how to install Enlightenment and Terminology with their dependencies on Debian. The script below can be easily adapted for Elementary. | ||
15 | |||
16 | Please note that procedure will provide a very minimal system. On a fresh minimal debian system, the whole system size is 2.4G disk used, but it will do nothing except... enlightenment ! | ||
17 | |||
18 | Start by creating a new directory to work in: | ||
19 | |||
20 | <code bash> | ||
21 | #create a directory | ||
22 | mkdir enlight | ||
23 | cd enlight | ||
24 | </code> | ||
25 | |||
26 | == Dependencies == | ||
27 | |||
28 | Make sure all the dependencies are installed: | ||
29 | |||
30 | <code bash> | ||
31 | sudo apt update | ||
32 | sudo apt install \ | ||
33 | make gcc bison flex gawk subversion automake autoconf doxygen\ | ||
34 | check autotools-dev autoconf-archive autopoint libtool gettext \ | ||
35 | libpam0g-dev libfreetype6-dev libpng12-dev zlib1g-dev libjpeg-dev\ | ||
36 | libdbus-1-dev luajit libluajit-5.1-dev libx11-dev libxcursor-dev\ | ||
37 | libxrender-dev libxrandr-dev libxfixes-dev libxdamage-dev\ | ||
38 | libxcomposite-dev libxss-dev libxp-dev libxext-dev libxinerama-dev \ | ||
39 | libxkbfile-dev libxtst-dev libxcb1-dev libxcb-shape0-dev\ | ||
40 | libxcb-keysyms1-dev libpulse-dev libsndfile1-dev libudev-dev\ | ||
41 | libblkid-dev libmount-dev libgstreamer1.0-dev libtiff5-dev libgif-dev\ | ||
42 | curl libssl-dev libspectre-dev libpoppler-dev librsvg2-dev\ | ||
43 | libraw-dev libxinerama-dev git libfribidi-dev libcogl-gles2-dev\ | ||
44 | libbullet-dev libgstreamer-plugins-base1.0-dev libvlc-dev \ | ||
45 | libpoppler-cpp-dev libsystemd-dev | ||
46 | </code> | ||
47 | |||
48 | <note> | ||
49 | If you do not want systemd support, you will have to provide to ''autogen.sh'' or ''configure'': <code>--disable-systemd</code> | ||
50 | </note> | ||
51 | |||
52 | == Enlightenment and EFL build script == | ||
53 | |||
54 | Copy the source code of the shell script below in a file called ''build_enlight.sh''. | ||
55 | |||
56 | <code bash> | ||
57 | #!/bin/bash | ||
58 | |||
59 | set -e | ||
60 | # Target directory | ||
61 | PREFIX="/usr/local" | ||
62 | |||
63 | # List of the needed packages | ||
64 | # To adapt to your needs | ||
65 | PROJECTS="efl enlightenment" | ||
66 | |||
67 | # Download url | ||
68 | SITE=" https://git.enlightenment.org/core/" | ||
69 | OPT="--prefix=$PREFIX" | ||
70 | |||
71 | PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH" | ||
72 | PATH="$PREFIX/bin:$PATH" | ||
73 | LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH" | ||
74 | LOG="installe.log" | ||
75 | rm -f $LOG # Delete precedent log file | ||
76 | touch $LOG # Create a log file | ||
77 | date >> $LOG # Add current date | ||
78 | |||
79 | # Download and compile each module | ||
80 | for PROJ in $PROJECTS; do | ||
81 | # Cloning | ||
82 | if [ ! -d $PROJ ]; then | ||
83 | git clone $SITE$PROJ.git $PROJ | ||
84 | fi | ||
85 | # Go building and installing | ||
86 | cd $PROJ* | ||
87 | make clean distclean || true | ||
88 | ./autogen.sh $OPT | ||
89 | make | ||
90 | sudo make install | ||
91 | cd .. | ||
92 | sudo ldconfig | ||
93 | echo $PROJ" is installed" >> $LOG | ||
94 | done | ||
95 | |||
96 | #Optionnal Terminology | ||
97 | git clone https://git.enlightenment.org/apps/terminology.git | ||
98 | cd terminology | ||
99 | ./autogen.sh $OPT | ||
100 | make | ||
101 | sudo make all install | ||
102 | cd .. | ||
103 | sudo ldconfig | ||
104 | </code> | ||
105 | |||
106 | This script clones the repositories, builds and installs the EFL libraries, then builds and installs Terminology. | ||
107 | |||
108 | Set the script executable: | ||
109 | |||
110 | <code bash> | ||
111 | chmod ug+x build_enlight.sh | ||
112 | </code> | ||
113 | |||
114 | Then, execute the script to compile and install enlightenment. | ||
115 | |||
116 | It is not mandatory, but if you want to use a display manager such as gdm, kdm or liqhtdm : | ||
117 | <code bash> | ||
118 | sudo ln -s /usr/local/share/xsessions/enlightenment.desktop /usr/share/xsessions/ | ||
119 | </code> | ||
120 | |||
121 | ==== From debian experimental repository ==== | ||
122 | |||
123 | Edit /etc/apt/sources.list to add an entry : | ||
124 | <code> | ||
125 | deb http://httpredir.debian.org/debian experimental main | ||
126 | </code> | ||
127 | Then install enlightenment with : | ||
128 | <code> | ||
129 | apt-get update | ||
130 | apt-get -t experimental install enlightenment | ||
131 | </code> | ||
132 | And terminology : | ||
133 | <code> | ||
134 | apt-get -t experimental install terminology | ||
135 | </code> | ||
136 | |||
137 | For upgrade see [[https://wiki.debian.org/DebianExperimental|debian experimental]]. | ||
138 | |||
139 | ==== Run-time requirements ==== | ||
140 | A minimum run-time environment requires : | ||
141 | <code bash> | ||
142 | apt install dbus-x11 xinit xorg | ||
143 | </code> | ||
144 | and creating ./.xinitrc : | ||
145 | <code> | ||
146 | exec enlightenment_start | ||
147 | </code> | ||
148 | It may be necessary to make it executable. | ||
149 | |||
150 | Then run on an X terminal: | ||
151 | <code> | ||
152 | startx | ||
153 | </code> | ||
154 | |||
155 | These run-time requirements may be provided - or not - by a display manger. In this case, you can reboot and choose Enlightenment as a window manager. | ||
156 | |||
157 | == Test == | ||
158 | This procedure has been tested in February 2017 on jessie 8.7.1 and on stretch. | ||