Wiki page debian-start.md changed with summary [Update for meson build and new deps] by Davide Andreoli
This commit is contained in:
parent
769a347dcb
commit
9993eef89c
|
@ -54,7 +54,7 @@ This will create a folder named ``efl-X.XX.X``.
|
|||
In order to compile and install EFL, first download the necessary software:
|
||||
|
||||
```bash
|
||||
su -c "apt install gcc g++ check libssl-dev libsystemd-dev libjpeg-dev libglib2.0-dev libgstreamer1.0-dev libluajit-5.1-dev libfreetype6-dev libfontconfig1-dev libfribidi-dev libx11-dev libxext-dev libxrender-dev libgl1-mesa-dev libgif-dev libtiff5-dev libpoppler-dev libpoppler-cpp-dev libspectre-dev libraw-dev librsvg2-dev libudev-dev libmount-dev libdbus-1-dev libpulse-dev libsndfile1-dev libxcursor-dev libxcomposite-dev libxinerama-dev libxrandr-dev libxtst-dev libxss-dev libbullet-dev libgstreamer-plugins-base1.0-dev doxygen"
|
||||
su -c "apt install meson ninja-build gcc g++ check libssl-dev libsystemd-dev libjpeg-dev libglib2.0-dev libgstreamer1.0-dev libluajit-5.1-dev libfreetype6-dev libfontconfig1-dev libfribidi-dev libx11-dev libxext-dev libxrender-dev libgl1-mesa-dev libgif-dev libtiff5-dev libwebp-dev libopenjp2-7-dev libpoppler-dev libpoppler-cpp-dev libspectre-dev libraw-dev librsvg2-dev libharfbuzz-dev libscim-dev libudev-dev libmount-dev libdbus-1-dev libpulse-dev libsndfile1-dev libxcursor-dev libxcomposite-dev libxinerama-dev libxrandr-dev libxtst-dev libxss-dev libbullet-dev libgstreamer-plugins-base1.0-dev libcurl4-openssl-dev doxygen"
|
||||
```
|
||||
|
||||
### Step 4: Building and Installing ###
|
||||
|
@ -62,9 +62,9 @@ su -c "apt install gcc g++ check libssl-dev libsystemd-dev libjpeg-dev libglib2.
|
|||
Once you have installed all the required packages to compile and install EFL, ``cd`` into the ``efl-X.XX.X`` folder and run
|
||||
|
||||
```bash
|
||||
./configure
|
||||
make
|
||||
su -c "make install"
|
||||
meson build
|
||||
ninja -C build
|
||||
su -c "ninja -C build install"
|
||||
```
|
||||
|
||||
This will configure the files needed to compile software, then compile and install it.
|
||||
|
@ -80,15 +80,13 @@ su -c "ln -s /usr/local/share/dbus-1/services/org.enlightenment.Ethumb.service /
|
|||
You may also need to refresh your library path to make sure your apps can find the EFL libraries:
|
||||
|
||||
```bash
|
||||
su -c "ldconfig"
|
||||
su -c "/sbin/ldconfig"
|
||||
```
|
||||
|
||||
## Installing from Git ##
|
||||
|
||||
You can also get the bleeding edge version of EFL by cloning it from the git repository.
|
||||
|
||||
### Step 1: Installing git and Cloning ###
|
||||
|
||||
By default, *git* is not installed in Debian so the first step is to install it:
|
||||
|
||||
```bash
|
||||
|
@ -101,50 +99,10 @@ Next clone EFL's source code:
|
|||
git clone https://git.enlightenment.org/core/efl.git
|
||||
```
|
||||
|
||||
This will create a a directory named ``efl/``.
|
||||
This will create a a directory named ``efl/``. You can now ``cd`` into the ``efl/`` folder and follow step 3, 4 and 5 from the above instructions.
|
||||
|
||||
### Step 2: Installing Dependencies ###
|
||||
For a faster and smaller download you can add the ``--depth 1`` to the previous ``git`` command, in this way you will not get the full history of changes but just the latest snapshot of the source code.
|
||||
|
||||
You'll need to install some tools to build the configuration file:
|
||||
|
||||
```bash
|
||||
su -c "apt install autoconf autopoint libtool"
|
||||
```
|
||||
|
||||
You'll also need to download the software dependencies for EFL itself:
|
||||
|
||||
```bash
|
||||
su -c "apt install gcc g++ check libssl-dev libsystemd-dev libjpeg-dev libglib2.0-dev libgstreamer1.0-dev libluajit-5.1-dev libfreetype6-dev libfontconfig1-dev libfribidi-dev libx11-dev libxext-dev libxrender-dev libgl1-mesa-dev libgif-dev libtiff5-dev libpoppler-dev libpoppler-cpp-dev libspectre-dev libraw-dev librsvg2-dev libudev-dev libmount-dev libdbus-1-dev libpulse-dev libsndfile1-dev libxcursor-dev libxcomposite-dev libxinerama-dev libxrandr-dev libxtst-dev libxss-dev libbullet-dev libgstreamer-plugins-base1.0-dev doxygen"
|
||||
```
|
||||
|
||||
### Step 3: Configuring the Software ###
|
||||
|
||||
You can now ``cd`` into the ``efl\`` directory and run the ``autoreconf`` script to create and configure the software ready for compilation:
|
||||
|
||||
```bash
|
||||
./autogen.sh
|
||||
```
|
||||
|
||||
Once configured, compile the software with:
|
||||
|
||||
```bash
|
||||
make
|
||||
su -c "make install"
|
||||
```
|
||||
|
||||
### Step 4: Carrying out Post Installation Tasks ###
|
||||
|
||||
As you are not installing to ``/usr`` but to ``/usr/local``, you will have to ensure that some files are visible to *dbus*:
|
||||
|
||||
```bash
|
||||
su -c "ln -s /usr/local/share/dbus-1/services/org.enlightenment.Ethumb.service /usr/share/dbus-1/services/org.enlightenment.Ethumb.service"
|
||||
```
|
||||
|
||||
You may also need to refresh your library path to make sure your apps can find the EFL libraries:
|
||||
|
||||
```bash
|
||||
su -c "ldconfig"
|
||||
```
|
||||
|
||||
## Troubleshooting ##
|
||||
|
||||
|
|
Loading…
Reference in New Issue