Commit Graph

160 Commits

Author SHA1 Message Date
Carsten Haitzler d5c3d7a042 lets not break everything that depends on efl shall we when messing
around with its build? :(

SVN revision: 80507
2012-12-08 03:42:13 +00:00
Gustavo Sverzut Barbieri 337f679b64 efl: more minor simplifications and cleanups.
it's impressive, the more you clean, the more you find stuff that
could be simpler or just not exist.

SVN revision: 80506
2012-12-07 23:37:01 +00:00
Gustavo Sverzut Barbieri c6e0c95883 efl: almost final ecore/evas/ecore-evas options integration.
Many changes in this commit, but overall it should work. If not let me

 * ECORE_CHECK_X_EXTENSION() will now fail if Xlib extension is not found.

 * remove usage of ECORE_EVAS_CHECK_MODULE(), using the simplified

 * EVAS_CHECK_ENGINE() will not declare an option anymore.

 * fixed --with-x11 and --with-opengl regarding defaults.

 * fixed typo in EVAS_STATIC_BUILD_SOFTWARE_X11 -> XLIB conditional

 * simplified Xi2 and Xgestures support under --enable-gesture. Let me
   know if these should be checked separately.

 * remove every other X extension option, they are all forced by
   now. If no major showstopper appears with this we may remove all
   the #ifdef in the code!

If there is something broken, let me know.

Next on the list for the weekend is to finish the option checks for
SDL, Wayland-EGL, Cocoa and similar.

SVN revision: 80505
2012-12-07 23:16:43 +00:00
Gustavo Sverzut Barbieri ddba28a921 efl: share more of x11/xlib/xcb in ecore, ecore-evas and evas.
SVN revision: 80499
2012-12-07 20:23:45 +00:00
Gustavo Sverzut Barbieri 4df5715e0e efl: fix typos in help strings
SVN revision: 80495
2012-12-07 19:35:33 +00:00
Gustavo Sverzut Barbieri 9e9b5c2205 efl: remove ecore_x_backend to use with_x11
SVN revision: 80494
2012-12-07 19:31:02 +00:00
Gustavo Sverzut Barbieri 379c8bc208 efl: simplify wayland cases (still need doing egl)
SVN revision: 80493
2012-12-07 19:26:13 +00:00
Gustavo Sverzut Barbieri e197a0453d efl: fix sdl check and simplify jpeg saver check for windows
SVN revision: 80492
2012-12-07 19:16:03 +00:00
Gustavo Sverzut Barbieri 64a9af8fe8 efl: check for sdl if it's required.
SVN revision: 80489
2012-12-07 19:11:22 +00:00
Gustavo Sverzut Barbieri 64942f97af efl: simplifications for fb and sdl
SVN revision: 80488
2012-12-07 19:07:42 +00:00
Gustavo Sverzut Barbieri af221f3d6d efl: pixman should be off by default.
SVN revision: 80483
2012-12-07 18:26:26 +00:00
Gustavo Sverzut Barbieri aaf18a71a4 efl: baby steps to get sharing of options between evas and ecore-evas.
SVN revision: 80482
2012-12-07 18:24:49 +00:00
Gustavo Sverzut Barbieri 892c64297e efl: begin (still partial!) to make an uniform choice of engines ecore/evas
still lots to do, but some improvements:

 - ecore_evas does not inherit pkg-config from modules since modules are SO

 - renamed internal ecore evas define from SOFTWARE_BUFFER to BUFFER,
   to make consistent.

SVN revision: 80473
2012-12-07 17:18:17 +00:00
Gustavo Sverzut Barbieri 1268cd9208 efl: introduce --with-x11, --with-opengl and --enable-wayland
* --with-x11 takes one of:
   * xlib: use standard Xlib (used if not windows or ps3)
   * xcb: use new xcb library
   * none: do not build x11 (used if windows or ps3)

 * --with-opengl takes one of:
   * full: complete OpenGL support (used if not windows or ps3, ???)
   * es: reduced version (OpenGL-ES)
   * none: do not build OpenGL (used if windows or ps3, ???)

 * --enable-wayland: disabled by default

These are not used as they should yet, will take more work in the
engines to make it happen.

SVN revision: 80467
2012-12-07 15:14:33 +00:00
Gustavo Sverzut Barbieri 3e5811acf9 efl: remove --enable-simple-x11 for now.
may come back to it if openembedded or related complains.

SVN revision: 80466
2012-12-07 14:42:20 +00:00
Gustavo Sverzut Barbieri 63206904f5 efl: software generic is always static.
remove the option and logic, but still leave the framework in there if
some day a rare case of engine that does not rely on software generic

SVN revision: 80464
2012-12-07 14:23:32 +00:00
Gustavo Sverzut Barbieri 7d41d6ace2 efl: valgrind is also in evas
SVN revision: 80463
2012-12-07 14:17:09 +00:00
Gustavo Sverzut Barbieri e674ea6706 efl: simplify valgrind handling
SVN revision: 80460
2012-12-07 14:10:55 +00:00
Gustavo Sverzut Barbieri 2e60c65790 efl: simplify platform extra libs.
SVN revision: 80459
2012-12-07 14:04:54 +00:00
Gustavo Sverzut Barbieri e8c9be5a1e efl: simplified platform handling.
platform_pc defines requirements for every platform, each can be
addressed individually by platform_pc_evil, platform_pc_escape or

SVN revision: 80454
2012-12-07 13:51:46 +00:00
Sebastian Dransfeld 5130ed35c7 efl: fix internal usage of pkg-config
Still was some checks in ecore to find efl stuff with pkg-config. Use
directly values from evas checks.

SVN revision: 80446
2012-12-07 13:14:35 +00:00
Carsten Haitzler e3d5ac0cb7 harfbuzz is too rare to make it a --disable - so no.
SVN revision: 80403
2012-12-06 23:36:40 +00:00
Gustavo Sverzut Barbieri 4476601805 efl: m4 is a macro-expansion language, use that.
instead of replicating common patterns all around, let's use the
common patterns as m4 macros.

EFL_DEPEND_PKG() will use pkg-config and add the dependency.

EFL_OPTIONAL_DEPEND_PKG() will use the former, but also defines
have_XYZ and does the if statement for you.

SVN revision: 80402
2012-12-06 23:19:35 +00:00
Gustavo Sverzut Barbieri 2ea000fd1c efl: add EFL_PKG_CHECK_STRICT() and use it.
PKG_CHECK_EXISTS() does not abort upon failure, our rule. So add this
and avoid replicating code like crazy.

SVN revision: 80396
2012-12-06 22:09:47 +00:00
Gustavo Sverzut Barbieri 7e8f2ebf87 efl: remove strict checking option, always by default.
SVN revision: 80395
2012-12-06 21:41:28 +00:00
Gustavo Sverzut Barbieri 94bf7c25e8 efl: simplified system features strings (inotify, ipv6, atfile...)
Instead of distributing system/platform features all around, many are
shared among modules, summarize these things into one single line
using +/- notation.

SVN revision: 80394
2012-12-06 21:26:16 +00:00
Gustavo Sverzut Barbieri 81bd007e5b efl: share HAVE_ATFILE_SOURCE between eina_file, ecore_file...
SVN revision: 80391
2012-12-06 21:15:30 +00:00
Gustavo Sverzut Barbieri 9f6ad6fd55 efl: simplify cserve2 checks.
the headers were already checked, just use the values.

SVN revision: 80390
2012-12-06 20:43:18 +00:00
Gustavo Sverzut Barbieri 2da8989731 efl/ecore_file: no more have_poll
SVN revision: 80386
2012-12-06 20:06:43 +00:00
Gustavo Sverzut Barbieri 22b656875c efl/ecore: epoll.h is always detected.
SVN revision: 80385
2012-12-06 20:06:05 +00:00
Gustavo Sverzut Barbieri 8a4d83506b efl/ecore: remove check glib-always x g_main_loop as it does not make sense.
if we use g_main_loop we're always integrated with glib main loop, not

SVN revision: 80384
2012-12-06 19:48:34 +00:00
Gustavo Sverzut Barbieri bdbf2171fe efl/evas: simplify dither mask handling.
* a single option --with-evas-dither-mask=TYPE (big, small, line or none).

 * make a wise decision to fallback to small dither mask for
   conversions that do not support "no-dither" or "line". Before if
   you did not specify it would fallback to big (128x128).

SVN revision: 80383
2012-12-06 19:44:11 +00:00
Leandro Dorileo d82e901802 efl: proper use of AC_DEFINE_IF for HAVE_NOTIFY_WIN32 definition
--This line, and those below, will be ignored--

SVN revision: 80371
2012-12-06 16:22:20 +00:00
Carsten Haitzler 047db8f450 without this i end up with a configure that does:
configure: updating cache config.cache
configure: creating ./config.status
config.status: error: cannot find input file:'
make: *** No targets specified and no makefile found.  Stop.

autoheader is unhappy:

autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoheader: warning: missing template: HAVE_NOTIFY_WIN32
autoheader: Use AC_DEFINE([HAVE_NOTIFY_WIN32], [], [Description])
autoreconf: /usr/bin/autoheader failed with exit status: 1

SVN revision: 80368
2012-12-06 16:08:07 +00:00
Gustavo Sverzut Barbieri c352b7772a efl: remove sdl-primitive, not used anymore.
nobody was using ENGINE_SDL_PRIMITIVE in code, and as cedric said it
shouldn't be used anymore.

SVN revision: 80363
2012-12-06 14:06:45 +00:00
Gustavo Sverzut Barbieri a77f0bdb80 efl: remove want_poll.
SVN revision: 80362
2012-12-06 13:58:32 +00:00
Gustavo Sverzut Barbieri 62bb4646c9 efl/ecore_file: refactor to be more like eio in providing backends.
instead of the previous mess, just define the functions with common
names and call the backend that was compiled in, similar to what eio

also do not be silent on errors, use eina_safety_checks to issue warnings.

SVN revision: 80360
2012-12-06 13:38:34 +00:00
Gustavo Sverzut Barbieri 6a5eaacc6a efl: common inotify checks, simplified.
Another try to make inotify checks more common.

This time uses AC_CHECK_HEADERS() as for others, that already define
HAVE_SYS_INOTIFY_H, then uses that.

I still kept AM_CONDITIONAL([HAVE_INOTIFY]) because I plan to convert
ecore_file to the same, smarter, method that is used in eio (compiling
the file depending on the backend.

SVN revision: 80358
2012-12-06 13:02:59 +00:00
Eduardo de Barros Lima e3178a936d Reverting 80354: "Avoid calling test so many times. Use -a/-o instead."
SVN revision: 80357
2012-12-06 13:01:21 +00:00
Eduardo Lima (Etrunko) a46d793b24 Avoid calling test so many times. Use -a/-o instead.
Signed-off-by: Eduardo Lima (Etrunko) <>

SVN revision: 80354
2012-12-06 12:26:52 +00:00
Gustavo Sverzut Barbieri f8dd49ded4 efl: ecore thread safety (remove option, keep code, add instructions).
* remove the option, as it shouldn't really exist.

 * keep code, as requested by Cedric, someone may fix it someday. And
   the default is the DISABLED, as the enable was broken.

 * Add instructions on how to solve the problem, if a brave folk is up
   to it.

SVN revision: 80352
2012-12-06 12:18:24 +00:00
Vincent Torri 8e1879ade9 inotify: revert : i want to keep autotools **modularized**. Instead, use in Eio what has been detected in Ecore_File.
SVN revision: 80298
2012-12-06 07:23:50 +00:00
Cedric BAIL 1a3bb9f009 efl: revert r80290 as it bork the world.
SVN revision: 80296
2012-12-06 03:02:47 +00:00
Cedric BAIL 2def8f1f1e efl: now that we have a global SSL/Crypto flags, don't advertise per lib result.
SVN revision: 80295
2012-12-06 02:39:01 +00:00
Gustavo Sverzut Barbieri 9d93fc18da efl: simplify inotify by moving it to common.
also deprecate very ancient inotify usage by direct syscall.

SVN revision: 80292
2012-12-06 00:57:29 +00:00
Gustavo Sverzut Barbieri 5575c36c4e efl: local and abstract sockets are platform dependent, not an option.
SVN revision: 80291
2012-12-06 00:35:14 +00:00
Gustavo Sverzut Barbieri 2731721d50 efl: thread safety by default.
it's better to test this case and make it the only one and make it
work, than have two options that may not work.

SVN revision: 80290
2012-12-06 00:30:46 +00:00
Gustavo Sverzut Barbieri d69c4b6208 efl: ipv6 is always enabled if detected in the platform.
SVN revision: 80289
2012-12-06 00:21:03 +00:00
Gustavo Sverzut Barbieri 48120ec0c8 efl: both eet and ecore_con now share --with-crypto and defines.
   in ecore_con, to match other modules such as Eet.

 * define requirements_pc_crypto, requirements_pc_deps_crypto and
   requirements_libs_crypto so modules can use that.

 * move to a common check section.

SVN revision: 80288
2012-12-06 00:11:14 +00:00
Gustavo Sverzut Barbieri 511d8e8672 efl/eet: bumped requirement for gnutls >= 2.11 thus remove legacy code.
SVN revision: 80287
2012-12-05 23:44:45 +00:00