Wiki page archlinux-start.md changed with summary [] by Raster

This commit is contained in:
Carsten Haitzler 2019-10-06 06:16:17 -07:00 committed by www-data
parent 3f6af7691e
commit 9704705eef
1 changed files with 17 additions and 33 deletions

View File

@ -1,6 +1,5 @@
---
~~Title: Installing EFL on Arch~~
~~NOCACHE~~
---
# Installing EFL on Arch #
@ -33,14 +32,15 @@ The version in Arch's official repositories may lag behind the latest version of
## Installing from a Special Repository ##
You can use Arch's package management system to install an up-to-date version of EFL from the *Arch User Repository (AUR)* named *efl-git*. Using the *efl-git* AUR is relatively simple and makes your EFL package easy to maintain using Arch's package management system, *pacman*.
You can use Arch's package management system to install an up-to-date version of EFL from the *Arch User Repository (AUR)* named [efl-git](https://aur.archlinux.org/packages/efl-git). Using the *efl-git* AUR is relatively simple and makes your EFL package easy to maintain using Arch's package management system, *pacman*. There is also [enlightenment-git](https://aur.archlinux.org/packages/enlightenment-git), [rage-git](
https://aur.archlinux.org/packages/rage-git), [terminology-git](https://aur.archlinux.org/packages/terminology-git)
### Step 1: Download Meta Package ###
Download the files containing the required meta-information to install EFL from the AUR:
```bash
wget https://aur.archlinux.org/cgit/aur.git/snapshot/efl-git.tar.gz
git clone https://aur.archlinux.org/efl-git.git
```
### Step 2: Install Build Tools and Dependencies ###
@ -48,18 +48,14 @@ wget https://aur.archlinux.org/cgit/aur.git/snapshot/efl-git.tar.gz
In order to build EFL from source, you'll need some tools:
```bash
pacman -S gcc fakeroot binutils autoconf automake pkg-config make
pacman -S gcc fakeroot binutils meson ninja pkg-config
```
The *makepkg* script in the following step will handle most dependencies however you need to install *wayland-protocols* manually too:
```bash
pacman -S wayland-protocols
```
The *makepkg* script in the following step will handle all the dependencies for you.
### Step 3: Make Package ###
Unpack the file you downloaded in Step 1 with ``tar xvf efl-git.tar.gz``. Next, ``cd`` into the new ``efl-git/`` directory and build the package with:
Now ``cd`` into the new ``efl-git`` directory and build the package with:
```bash
makepkg -s
@ -69,10 +65,10 @@ This process will download EFL from the Enlightenment git repositories, run the
### Step 4: Install the package ###
When *makepkg* is finished you'll find a file in your directory with a name like ``efl-git-X.XX.XX.XXXXX.XXXXXXXXX-X-x86-64.pkg.tar.xz``. This is the actual package you can install. Switch to root and run:
When *makepkg* is finished you'll find a file in your directory with a name like ``efl-git-X.XX.XX.XXXXX.XXXXXXXXX-X-XXXXXX.pkg.tar.xz``. This is the actual package you can install. To do this as root run:
```bash
pacman -U efl-git-X.XX.XX.XXXXX.XXXXXXXXX-X-x86-64.pkg.tar.xz
sudo pacman -U efl-git-*.pkg.tar.xz
```
*pacman* will now install EFL for you.
@ -108,7 +104,7 @@ This will produce a folder named ``efl-X.XX.X``.
Before you can compile and install EFL you need to install the required software packages and tools:
```bash
pacman -S gcc make pkg-config luajit libjpeg gstreamer freetype2 fontconfig fribidi libx11 xorg-server-devel libxrender giflib libtiff poppler libspectre libraw librsvg libpulse libxcursor libxcomposite libxinerama libxrandr libxss bullet gst-plugins-base-libs
pacman -S meson ninja pkgconf gcc binutils python2 avahi bullet curl fontconfig harfbuzz fribidi gst-plugins-base-libs luajit libexif libgl libinput libpulse libspectre libraw librsvg libwebp libxcomposite libxcursor libxinerama libxkbcommon libxp libxrandr libxss libunwind mesa openjpeg2 poppler shared-mime-info ttf-font scim libibus glib2 pulseaudio gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav libreoffice
```
### Step 4: Building and Installing ###
@ -116,21 +112,15 @@ pacman -S gcc make pkg-config luajit libjpeg gstreamer freetype2 fontconfig frib
Once you have installed all the required packages, ``cd`` into the ``efl-X.XX.X`` folder and run
```bash
./configure
make
su -c "make install"
meson build
ninja -C build
sudo ninja -C build install
```
This will configure the files needed for compiling, compile the software, then install it.
### Step 5: Carrying out Post Installation Tasks ###
As you are not installing to ``/usr`` but to ``/usr/local`` you'll have to ensure that some files are visible to *dbus*:
```bash
sudo ln -s /usr/local/share/dbus-1/services/org.enlightenment.Ethumb.service /usr/share/dbus-1/services/org.enlightenment.Ethumb.service
```
You also have to make some files visible to *pkgconfig*. To do this open ``/etc/profile`` in a text editor as root (using for example ``sudo nano /etc/profile``) and add the following line to the end:
```bash
@ -168,13 +158,13 @@ This will create a a directory named ``efl/``.
You'll need to install some tools to build the configuration file:
```bash
pacman -S gcc binutils autoconf automake pkg-config make
pacman -S meson ninja pkgconf gcc binutils python2
```
You also must install the dependencies specific to EFL:
```bash
pacman -S luajit libjpeg gstreamer freetype2 fontconfig fribidi libx11 xorg-server-devel libxrender giflib libtiff poppler libspectre libraw librsvg libpulse libxcursor libxcomposite libxinerama libxrandr libxss bullet gst-plugins-base-libs doxygen check
pacman -S avahi bullet curl fontconfig harfbuzz fribidi gst-plugins-base-libs luajit libexif libgl libinput libpulse libspectre libraw librsvg libwebp libxcomposite libxcursor libxinerama libxkbcommon libxp libxrandr libxss libunwind mesa openjpeg2 poppler shared-mime-info ttf-font scim libibus glib2 pulseaudio gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav libreoffice
```
### Step 3: Configuring the Software ###
@ -182,24 +172,18 @@ pacman -S luajit libjpeg gstreamer freetype2 fontconfig fribidi libx11 xorg-serv
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
meson build
```
Once configured, compile the software with:
```bash
make
su -c "make install"
ninja -C build
sudo ninja -C build install
```
### Step 4: Carrying out Post Installation Tasks ###
As you are not installing to ``/usr`` but to ``/usr/local`` you'll have to ensure that some files are visible to *dbus*:
```bash
sudo ln -s /usr/local/share/dbus-1/services/org.enlightenment.Ethumb.service /usr/share/dbus-1/services/org.enlightenment.Ethumb.service
```
You also have to make some files visible to *pkgconfig*. To do this open ``/etc/profile`` in a text editor as root (using for example ``sudo nano /etc/profile``) and add the following line to the end:
```bash