4 ******************************************************************************
5 FOR ANY ISSUES PLEASE EMAIL:
6 enlightenment-devel@lists.sourceforge.net
7 ******************************************************************************
9 EFL is a collection of libraries for handling many common tasks a
10 developer may have such as data structures, communication, rendering,
13 There are many components inside EFL. They also build various things
14 like shared libraries, loadable plug-in modules and also binary
15 executables. Different elements will end up being licensed differently
16 too. Below is a rundown of the components, what they do and their
19 All library source is in the src/lib/ directory. All binaries are in
20 src/bin/. All loadable modules are in src/modules/. All data files are
21 in the data/ directory. Licensing details are listed in COPYING and
22 the licenses/ directory. The pc/ directory holds all the Package
23 Config files installed to help developers build against EFL.
25 For more doumentation please see:
27 http://www.enlightenment.org/p.php?p=docs
35 //BSD 2-Clause license//
37 This is the core main-loop, system events and execution layer. This
38 handles running the main loop, integrating with external data and
39 timing sources (the system clock, file descriptors, system signals),
40 and producing an event queue, walking that queue and dispatching
41 events to appropriate callbacks.
47 //BSD 2-Clause license//
49 This library provides an API for audio playback and recording. It uses
50 pulse audio underneath to handle mixing and policies. The API for this
51 should not be considered stable right now because it relies on EO and
52 EO is not considered finalized yet.
58 //BSD 2-Clause license//
60 This provides wrappers/abstractions around Max OS-X Cocoa APIs to help
67 //BSD 2-Clause license//
69 This provides a completely event-based TCP/UDP and Unix domain socket
70 API that integrates with the main-loop. This means no blocking to send
71 or receive data, supporting "infinite send buffers" with storage and
72 spooling being done by Ecore Con. It also supports SSL encryption
73 transparently turned on or not on the same connection, certificate
74 verification, CURL wrapping for HTTP connection usage (GETs, POSTs
75 etc.), asynchronous DNS lookups and provides the ability to also be a
76 server, not just a client, with the same event-based API.
82 //BSD 2-Clause license//
84 This acts as glue between the display target (X11, Wayland,
85 Frame buffer, Cocoa on OSX, Win32 etc.) and Evas. It creates/provides a
86 target for Evas to render to (a Window or Surface etc.) and feeds
87 input events (Keyboard, Mouse, Multi-touch) into Evas, which then
88 selects the target object and calls the callbacks. It also provides
89 wrappers/glue for manipulating the Window/Surface.
95 //BSD 2-Clause license//
97 This provides virtual terminal allocation, access and handling,
98 frame buffer information, raw input handling for keyboard, mouse and
105 //BSD 2-Clause license//
107 This provides file access convenience APIs for doing simple file
108 operations like renames, copies, listing directories and more. It also
109 supports file change monitoring and URL downloads.
115 //BSD 2-Clause license//
117 This is an input method abstraction framework to allow EFL to talk to
118 things like SCIM, IBus, Wayland and XIM. This allows for complex text
119 entry in languages such as Chinese, Japanese and Korean.
125 //BSD 2-Clause license//
127 This library glues Input method support from Ecore IMF and Evas
134 //BSD 2-Clause license//
136 This acts as a generic input layer where multiple display systems can
137 post events in the same format to the event queue.
141 **Ecore Input Evas:**
143 //BSD 2-Clause license//
145 This Routes events from Ecore Input into a given Evas canvas which
146 will then route the event further to the destination object and
153 //BSD 2-Clause license//
155 This acts as a layer on top of Ecore Con which handles entire IPC
156 message packets, dealing with header delta compression and
157 portability, as well as ensuring an entire message is received in one
158 go as a single IPC message, regardless of payload data size. The
159 entire API is event based almost exactly like Ecore Con and thus it
160 supports all the transport layers Ecore Con supports.
166 //BSD 2-Clause license//
168 This library acts as a helper for porting to the Playstation 3 (PS3)
169 native runtime environment.
175 //BSD 2-Clause license//
177 This acts as a wrapper/glue around SDL to handle SDL Windows as well
178 as input events from SDL and tie them to the Ecore main-loop and event
185 //BSD 2-Clause license//
187 This is a glue/wrapper library to interface EFL to Wayland libraries
188 to tie them into the Ecore main-loop and event queue.
194 //BSD 2-Clause license//
196 This acts as glue/wrapper around Windows Win32 APIs to tie them into
197 the Ecore main-loop and event queue.
203 //BSD 2-Clause license//
205 This acts as glue/wrapper around Windows CE APIs to tie them into the
206 Ecore main-loop and event queue.
212 //BSD 2-Clause license//
214 This is a library to wrap/deal with Xlib as well as optionally XCB to
215 make dealing with X11 less painful and less footwork as well as being
216 glue to tie these into the Ecore main-loop and event queue.
222 //BSD 2-Clause license// (except the epp binary which is GPLv2)
224 This is a graphics event, input, theme, animation and theme
225 abstraction library used to place many UI/UX elements into data files
226 (called edj files) that define how to react to incoming
227 events/signals, and define animation time lines, states, relative
228 scalable layout and much much more. It comes with a compiler that
229 compiles source "edc" files into "edj" files (which are actually just
230 data files managed by Eet). These "edj" files are fully portable and
231 can work on any OS/Architecture just like a JPEG or PNG might be
238 //BSD 2-Clause license//
240 This library is a data storage, encoding and decoding library
241 designed to be extremely compact, fast and easy to use. It can take
242 data structures directly from memory and serialize them portably to
243 disk, then de-serialize them right back to the same data structures in
244 memory, handling allocation and population of memory all for you in 1
245 call. It handles indirections such as pointers, linked lists, arrays
246 and hash tables too, so almost any level of data structure complexity
247 can be easily saved and loaded back. It is used for "edj" files by
248 Edje as well as all configuration in Enlightenment, Elementary and
249 Terminology. It supports encryption of data too via SSL, signing of
250 files, as well as various compression techniques. It also supports
251 encoding and decoding of image data in lossless or lossy form.
257 //BSD 2-Clause license//
259 This library acts as an abstraction to discovering hardware interfaces
260 for sensors as well as removable media and much more.
266 //BSD 2-Clause license//
268 This is just some core common header data like a common version number
269 for EFL and how to expose the EO API.
275 //BSD 2-Clause license//
277 This library provides code for handling Freedesktop.org standards such
278 as .desktop files, XDG Menus, Icon search paths and more. It provides
279 a central daemon to handle monitoring for changes that the library
280 talks to, and the daemon handles updating local cache files the
289 This library provides low-level routines for common things like linked
290 lists, hash tables, growable arrays, basic string buffers, shared
291 string tokens, mmaped() file access, thread abstraction and locking,
292 memory pools, copy-on-write segments, iterators, matrices, general
293 data models, red/black trees, quad-trees, a simple SAX XML parser and
302 This is an asynchronous I/O library for doing disk I/O without blocking.
310 This is a DBus access library to allow you to create DBus services as
311 well as clients. This glues in DBus into the main-loop so all access is
318 //Small license (same as ZLib license)//
320 This is a small C-like language compiler and byte-code interpreter
321 library. This is used for scripting in Edje. The code is based on
322 original source from the Pawn/Small Language but has been made
323 portable (endianess issues fixed) and 64bit issues fixed, with the
324 runtime library being refactored to be extremely small.
330 //BSD 2-Clause license//
332 This is a wrapper around Gstreamer and/or Xine and/or external
333 pluggable decoder binaries (generic binaries provided by Emotion
334 Generic Players or any suitable drop-in replacement). This glues in
335 the decoder library, and its output into a smart Evas object that will
336 display the playback for you as the video plays, as well as providing
337 higher level controls to seek, play, pause and query the stream
338 regardless of the back-end used. Note that using the Xine module may
339 effectively make this library GPL v2, so be aware of that before
346 //BSD 2-Clause license//
348 This is a core object system API that EFL 1.8 and on depend on. The
349 API is not finalized, so do not depend on it yet in EFL 1.8, but
350 future EFL versions will lock it down.
352 This object system does simple and multiple inheritance, refcounting,
353 strong and weak references, auto-deletion of child objects, unifies
354 callback handling with a single path, and also abstracts object
355 pointers to be indirect table lookups for increased safety at runtime.
361 //BSD 2-Clause license//
363 This library provides a wrapper around the Bullet physics library,
364 allowing for it to be linked directly with Evas objects and control
365 their behavior as if they were real physical objects.
373 This library is used as a compatibility library to provide missing
374 libc APIs for porting to the Playstation 3 (PS3) native runtime
383 This library provides core API for a thumbnailing daemon as well as
384 the thumbnail daemon itself. Ethumb Client talks with Ethumb to pass
385 off thumbnail generation to a central location to be done
394 This is the client-side part of Ethumb that provides an API for
395 clients to request the Ethumb thumbnailer to generate or find cached
402 //BSD 2-Clause license//
404 This is the core rendering and scene graph abstraction library for
405 EFL. It manages a stateful 2D scene graph that defines the entire
406 content of any canvas. This supplies rendering back-ends for many
407 display systems like X11, Windows, Wayland, Frame-buffer etc. and via
408 many rendering APIs like OpenGL, OpenGL-ES 2, and pure software
409 implementations that are fast and accurate.
415 //BSD 2-Clause license//
417 This library acts as a porting library for Windows to provide missing
418 libc calls not in Mingw32 that EFL needs.
423 COMPILING AND INSTALLING
424 ------------------------
430 If you have doxygen, then you csan build documentation with:
434 You will find documentation in the doc/ directory.
440 EFL requires a C and C++ compiler by default. C++ exists mostly to interface
441 to C++ libraries like Bullet and our C++ bindings.
448 * gstreamer (1.x) (ensure all codecs you want are installed. 0.10 optional)
450 * luajit (lua 5.1 or 5.2 optional support)
476 * libgl (opengl/glx or opengl-es2/egl)
478 * util-linux (limbount + libblkid)
481 Recommended requirements (highly recommended):
484 * libxi (2.2 or newer)
488 Enable these with configure options:
492 --enable-image-loader-webp \
495 After you install EFL it is **HIGHLY** recommended to install the Evas
496 Generic Loaders package and Emotion Generic Players too. These provide
497 external binaries, that are either unstable or GPL licensed that are
498 just drop-in utilities for handling image and video codecs. They can
499 be added or removed at any time (even runtime) so they could be
500 replaced or augmented with other drop-in binaries that do the same job
501 and talk the same simple stdin/out and shared memory protocol.
507 You can affect compilation optimization, debugging and other factors
508 by setting your CFLAGS environment variable (and CXXFLAGS). Be aware
509 that to ensure ABI stability you should use the exact same CFLAGS /
510 CXXFLAGS for all the build of EFL and any applications/libraries that
513 Other recommendations:
523 This requires linux frame-buffer support, headers etc. This supports
524 basic frame-buffers like /dev/fb as well as input via /dev/input for
525 keyboards and mice in a basic way. Enable this with:
529 This also turns on support for touch-screens via tslib. Not everyone
530 has tslib, so you may want to disable it with:
534 You likely don't need static libraries most of the time so you can
539 You may want to change the install prefix for EFL with:
541 --prefix=/path/to/prefix
543 The default prefix if not given is "/usr/local". Many people like to
544 use prefixes like /opt/e or /opt/efl or /home/USERNAME/software etc.
546 You may want to enable valgrind support if you plan on doing debugging
547 with EFL or apps built on top of EFL. This requires an install of
548 valgrind first. You can enable this with:
552 You may want to enable xine support in emotion, as this library
553 provides fairly solid support for a lot of codecs and DVD navigation
554 support and more. You can enable it with:
558 Wayland is also supported fairly solidly in EFL 1.8. It is not
559 required by default due to it being new and not that widely spread.
560 You can enable Wayland support with:
564 For faster rendering when dithering down to lower-than 24/32bpp, you
567 --with-evas-dither-mask=small
569 But this will drop quality slightly, using a small 16x16 ordered
570 dither mask rather than the default 128x128. This should save a little
571 memory too in the binary size of Evas.
573 There are many other configure options that can be used, but in
574 general it is not a good idea to go enabling or disabling things
575 unless you wish to break things. The defaults are well tested, with
576 the above recommended options also being well tested. Go much further
577 and your mileage may vary wildly. Disabling features is a good way of
578 breaking EFL functionality, so it is not recommended. The defaults
579 have been carefully considered to provide full functionality so users
580 will not be missing anything.
586 EFL uses the concept of memory pools (mempool) and this will confuse
587 valgrind memcheck tool. By using memory pool, the memory is still
588 owned by EFL, then valgrind won't alert on memory leaks or use of
589 unused memory. EFL will use memcheck.h from valgrind to declare its
590 memory pools to valgrind, producing better debugging results.
592 However valgrind is only available to limited platforms, making it
593 hard for us to declare it a mandatory requirement. Based on
594 --with-profile={dev,debug} valgrind will be used if available or will
595 be issued a warning. You can force valgrind with --enable-valgrind, or
596 disable it and the warning with --disable-valgrind.
598 EFL does NOT link to valgrind libraries. Then there is NO runtime
599 dependency on valgrind.
602 BULLET PHYSICS DEPENDENCY
603 -------------------------
605 EFL comes with EPhysics (a physics wrapper library) enabled by
606 default. To build it the user must have BulletPhysics engine installed.
608 More information about BulletPhysics can be obtained in the upstream project
609 web site at http://bulletphysics.org
611 We have received many reports about BulletPhysics installation and distros
612 packages in bad shape, some without even a package. If your distro doesn't
613 ship a BulletPhysics package or you want to build it from source code follow
614 the instructions below:
616 **Required Packages:**
618 You should have cmake installed. Bullet comes with autotools and cmake build
619 systems, do not use the autotools alternative, it's unstable, bogus and hasn't
620 been maintained for quite some time.
622 **Download the tarball from:**
624 http://code.google.com/p/bullet/downloads/list
628 The current supported version is 2.80 or greater.
630 **Compiling and Installing:**
632 Uncompress it to (say) ~/bullet and:
635 cmake .. -DBUILD_CPU_DEMOS=OFF -DBUILD_DEMOS=OFF -DBUILD_SHARED_LIBS=ON
642 Alternatively Ubuntu users have the option to install the BulletPhysics from
643 our official EFL PPA:
645 https://launchpad.net/~efl/+archive/trunk
651 EFL build is based on "profiles". It will default to "dev" for
652 unreleased software and "release" for official tarballs. One can
653 change it with --with-profile=NAME, where NAME is one of:
655 * **dev**: extra checks useful to test software.
656 * **debug**: superset of dev, with debug features and assert().
657 * **release**: optimizations and less checks so it runs faster.
663 EFL officially uses "openssl" library to do signature, cipher and related.
664 Alternatively one can use "gnutls" (some distros are strict about licenses
665 and want gnutls instead of openssl) or disable it. One can change it with
666 --with-crypto=NAME, where NAME is one of: "openssl", "gnutls" and "none".