summaryrefslogtreecommitdiff
path: root/pages/docs/distros/debian-start.txt
diff options
context:
space:
mode:
authorGareth Halfacree <freelance@halfacree.co.uk>2018-01-05 07:44:37 -0800
committerapache <apache@e5-web1.enlightenment.org>2018-01-05 07:44:37 -0800
commit99d5d959a2d212333e61e162325529a363e911c9 (patch)
treed5aa0dc863e272bfb750d15e0ad6ab9b7092ea4e /pages/docs/distros/debian-start.txt
parentcf1e5a88856f401f618e305dfc11cf3f02fcce52 (diff)
Wiki page navigation changed with summary [] by Gareth Halfacree
Diffstat (limited to '')
-rw-r--r--pages/docs/distros/debian-start.txt158
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
4Enlightenment and EFL Debian official packages are outdated.
5
6Two ways are possible : install from the sources, or install from the debian experimental repository.
7
8To start Enlightenment, see the run-time requirements below.
9
10==== Install from the sources ====
11
12In this part, the installation for Debian is done from sources like in the [[/docs/distros/|Get EFL installed]] tutorial.
13
14The 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
16Please 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
18Start by creating a new directory to work in:
19
20<code bash>
21#create a directory
22mkdir enlight
23cd enlight
24</code>
25
26== Dependencies ==
27
28Make sure all the dependencies are installed:
29
30<code bash>
31sudo apt update
32sudo 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>
49If 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
54Copy the source code of the shell script below in a file called ''build_enlight.sh''.
55
56<code bash>
57#!/bin/bash
58
59set -e
60# Target directory
61PREFIX="/usr/local"
62
63# List of the needed packages
64# To adapt to your needs
65PROJECTS="efl enlightenment"
66
67# Download url
68SITE=" https://git.enlightenment.org/core/"
69OPT="--prefix=$PREFIX"
70
71PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
72PATH="$PREFIX/bin:$PATH"
73LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH"
74LOG="installe.log"
75rm -f $LOG # Delete precedent log file
76touch $LOG # Create a log file
77date >> $LOG # Add current date
78
79# Download and compile each module
80for 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
94done
95
96#Optionnal Terminology
97git clone https://git.enlightenment.org/apps/terminology.git
98cd terminology
99./autogen.sh $OPT
100make
101sudo make all install
102cd ..
103sudo ldconfig
104</code>
105
106This script clones the repositories, builds and installs the EFL libraries, then builds and installs Terminology.
107
108Set the script executable:
109
110<code bash>
111chmod ug+x build_enlight.sh
112</code>
113
114Then, execute the script to compile and install enlightenment.
115
116It is not mandatory, but if you want to use a display manager such as gdm, kdm or liqhtdm :
117<code bash>
118sudo ln -s /usr/local/share/xsessions/enlightenment.desktop /usr/share/xsessions/
119</code>
120
121==== From debian experimental repository ====
122
123Edit /etc/apt/sources.list to add an entry :
124<code>
125deb http://httpredir.debian.org/debian experimental main
126</code>
127Then install enlightenment with :
128<code>
129apt-get update
130apt-get -t experimental install enlightenment
131</code>
132And terminology :
133<code>
134apt-get -t experimental install terminology
135</code>
136
137For upgrade see [[https://wiki.debian.org/DebianExperimental|debian experimental]].
138
139==== Run-time requirements ====
140A minimum run-time environment requires :
141<code bash>
142apt install dbus-x11 xinit xorg
143</code>
144and creating ./.xinitrc :
145<code>
146exec enlightenment_start
147</code>
148It may be necessary to make it executable.
149
150Then run on an X terminal:
151<code>
152startx
153</code>
154
155These 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 ==
158This procedure has been tested in February 2017 on jessie 8.7.1 and on stretch.