Jump to content

Enlightenment Foundation Libraries

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Doppelback (talk | contribs) at 10:16, 4 December 2016 (update release). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Enlightenment Foundation Libraries
Stable release
1.18.3 / November 24, 2016; 7 years ago (2016-11-24)[1]
Repository
Written inC
Operating systemUnix-like
TypeGraphics library
LicenseBSD license et al.
Websitedownload.enlightenment.org/rel/libs/efl/

The Enlightenment Foundation Libraries (EFL) are a set of graphics libraries that grew out of the development of Enlightenment, a window manager and Wayland compositor.[2] The project's focus is to make the EFL a flexible yet powerful and easy to use set of tools to extend the capabilities of both the Enlightenment window manager and other software projects based on the EFL. The libraries are meant to be portable and optimized to be functional even on mobile devices such as smart phones and tablets.

The libraries were created for version 0.17 of the window manager.

EFL is developed by Enlightenment.org with some sponsorship from Samsung, ProFUSION and Free.fr.[3] EFL is free and open source software.

Core components

Example of usage in Linux-based systems - software components of the Linux desktop stack like the display server, compositor, UI toolkits, desktop shells and desktop widgets

Evas

Evas is the EFL canvas library, for creating areas, or windows, that applications can draw on in an X Window System. The EFL uses hardware-acceleration where possible to allow it to work faster, but is also designed to work on lower-end hardware, falling back to lower color and quality for graphics if necessary. Unlike most canvas libraries, it is primarily image-based (as opposed to vector-based) and fully state-aware (the vast majority of canvases are stateless, requiring the programmer to keep track of state).

Edje

Edje is a library that attempts to separate the user interface from the application. It allows applications to be skinnable, so that it is possible to change the GUI of an application without changing the application itself. Edje-based applications use files which contain the specifications for the GUI layout that is to be used. Edje themes are contained using EET generated files.

Ecore

Ecore is an event abstraction, and modular convenience library, intended to simplify a number of common tasks. It is modular, so applications need only call the minimal required libraries for a job. Ecore simplifies working with X, Evas, and also a few other things, such as network communications and threads.

Embryo

Embryo implements a scripting language used by other parts of the EFL, such as Edje. The language has a C-like syntax, and was based on the SMALL language.

EET

EET is a library that is designed to store and load all types of data, locally or through a network stream. It is designed to be light-weight, efficient and quick. EET forms the basis of theme files in the EFL, i.e. if you want to install a theme for Enlightenment or another themable EFL app, you would be installing an EET-format file, which contains all of the theme graphics and configuration and it does not need to be extracted onto the filesystem in order to be used.

It is also the basis for all IPC communication and all configuration. Even if it's a binary file format, it is possible to dump/undump it on the fly to see what's going from a human point of view.

Eina

Eina is the base library of all data types used by the EFL. It is designed to reduce CPU-usage as much as possible without using too much memory. It provides list (and inlined list), hash, red-black tree, shared string, rectangle, array, iterator and accessor, memory pool, module, fixed point and magic check helper.

The library itself is small and could easily be used without any other EFL libraries.

Helper components

Ethumb

Ethumb is a library for creating thumbnails of many types of images, designed to be compliant with freedesktop.org's Thumbnail Managing Standard. It supports all of the file formats that Evas supports, including PNG, JPEG, TIFF, GIF, etc.

Emotion

Emotion is a library providing video-playing capabilities through the use of smart-objects. Emotion provides several video backends. The best-supported one is libxine, a well-established video-playing library, but gstreamer and vlc backends are also provided. Thus, Emotion supports all of the video formats that video libraries support, including Ogg Theora, DivX, MPEG2, etc.

Elementary

Elementary is a widget set based on the EFL that makes heavy use of Evas and Edje to provide a fast, stable, and scalable library that can be used to create both rich and fast applications that can be used on anything from every day desktop computers to small PDA's and set-top boxes. It is designed to fully expose the capability of the EFL.

EIO

EIO provide asynchronous file system operation, like listing the content of directory, copying and moving directory and files around. It relies on Ecore thread ability and, if correctly used, prevents any lock in the interface when browsing local file content.

Defunct/deprecated EFL components

  • EWD (features now added to Ecore)
  • Estyle (features have been absorbed by Etox)
  • Etox (obsolete)
  • Ebits (replaced by Edje)
  • Evoak (dead)
  • Imlib2 (replaced by Evas in E17,[4] no new features will be added[5])
  • EDB (replaced by EET)
  • EXML
  • EPEG (feature obsoleted by Evas)
  • Epsylon (replaced by Ethumb)
  • Engrave (feature have been absorbed by Edje)
  • Esmart (not maintained and job's better done by Elementary)

References

  1. ^ "Enlightenment Git". 2016-11-24. Retrieved 2016-12-04.
  2. ^ "Enlightenment as Standalone Wayland Compositor". 2014-02-01. Retrieved 2014-02-16.
  3. ^ "Enlightenment Sponsors". Enlightenment.org. Retrieved 2012-06-14.
  4. ^ "The road to Enlightenment". 2011-08-03.
  5. ^ Haitzler, Carsten (2011-11-19). "Mailing list post by Carsten Haitzler".