~~Title: Get Source~~
==== Source ====
All our source repositories are on:
* [[https://git.enlightenment.org|git.enlightenment.org]]
Our source code is developed collaboratively in a pretty typical open source manner. Our master branches in git are where all new development goes into as it happens, thus they are technically "unstable". We try and keep master working and usable daily, as developers generally are living off master themselves, so bugs affect developers directly and immediately. Sometimes issues happen, but they tend to get fixed rapidly.
==== Basic Requirements ====
Before you start you will want basic build tools installed such as:
{{page>incl:efl-deps-git}}
==== Get The Source ====
As any general anonymous user for the EFL core libraries:
git clone http://git.enlightenment.org/enlightenment/efl.git
And for some sample well developed / maintained applications
git clone http://git.enlightenment.org/enlightenment/enlightenment.git
git clone http://git.enlightenment.org/enlightenment/terminology.git
git clone http://git.enlightenment.org/enlightenment/rage.git
==== Dependencies ====
{{page>incl:efl-deps-src}}
==== Build Environment ====
{{page>incl:efl-buildenv}}
==== Build Order ====
For libraries (build these before applications), build them in order:
{{page>incl:efl-buildorder}}
==== Compilation ====
For every library or application simply go into the source directory where you find a ''configure.ac'' file and run the following:
# see README and INSTALL for more information
./autogen.sh
make
sudo make install
sudo ldconfig # needed on Linux to update linker library database
If you are in a library that doesn't have a ''configure.ac'', it is likely using meson. For meson based libraries and applications run this in the project's top level directory:
# see README and INSTALL for more information
meson build
ninja -C build
sudo ninja -C build install
sudo ldconfig
If configure or meson fail you are likely missing a dependency - provide it, or consider options to disable it. It should tell you what that dependency is. **NOTE** that you can provide configure arguments to autogen.sh or meson command such as ''--prefix=/opt/e'', -Dwl=true or similar.
==== Debugging ====
For debugging you really want tools like these installed:
* gdb
* valgrind
* perf
Please refer to our [[/develop/apps_efl_debugging|EFL application debugging]] page for full details on debugging with EFL.
----
=== Developer git access ===
If you get git commit access simply use
git clone git+ssh://git@
instead of
git clone https://
~~DISCUSSIONS~~