Commit Graph

213 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri a2b5eaeb98 efl/ecore_x: split xinput2 from gestures.
seems xinput2 is just to get the events, thus much more common, while
gestures is getting them from server (not as common).



SVN revision: 80525
2012-12-08 15:35:44 +00:00
Gustavo Sverzut Barbieri f8c480fc83 efl/ecore_x: add version and backend to header file.
instead of -DHAVE_ECORE_X_XCB in the pc, which is a super-hack, add a
proper compile-time generated ecore_x_version.h that is included by
Ecore_X.h

This file contains HAVE_ECORE_X_XLIB or HAVE_ECORE_X_XCB defined and
will also define ECORE_X_VERSION_MAJOR and ECORE_X_VERSION_MINOR as
per other EFL (Ecore), also defining the runtime version in
Ecore_X_Version.



SVN revision: 80524
2012-12-08 15:26:27 +00:00
Gustavo Sverzut Barbieri 91084ce26d efl: do not compile cocoa stuff as it's broken.
I'm waiting feedback from the ML whenever someone will fix or we'll
remove that.



SVN revision: 80522
2012-12-08 14:43:19 +00:00
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
know.

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

 * remove usage of ECORE_EVAS_CHECK_MODULE(), using the simplified
   ECORE_EVAS_MODULE()

 * 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
shows.



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
platform_pc_exotic.



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
conflicting/exclusive.




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: Makefile.in'
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
does.

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) <eduardo.lima@intel.com>



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.
* rename USE_GNUTLS and USE_OPENSSL to HAVE_GNUTLS and HAVE_OPENSSL
   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
Gustavo Sverzut Barbieri c9da182a47 efl: bump gnutls requirement version to 2.11 (released 2010-07-22)
this (already ancient!) version provides all symbols we need, then
bump version and stop doing those weirdo checks.



SVN revision: 80286
2012-12-05 23:33:14 +00:00
Gustavo Sverzut Barbieri 4401a7a904 efl: do not AC_SUBST([CFLAGS]), it's already done.
SVN revision: 80285
2012-12-05 23:19:41 +00:00
Gustavo Sverzut Barbieri 65bd780c3b efl: turn cpu extensions detection into generic section, simplify a bit.
* remove EVAS_ prefix as it may be used by other libs some day.

 * SSE3 is detected at runtime if x86.

 * remove AC_SUBST([altivec_cflags]) as it was not being used anywhere.

 * moved to top of file (maybe position is not optimal, let's wait
   vtorri to review)

 * simplified single-line summary that is as informative as before.



SVN revision: 80284
2012-12-05 23:18:59 +00:00
Vincent Torri 1a2daa057d add eio example and fix ecore_fb linking
SVN revision: 80273
2012-12-05 18:10:43 +00:00
Rafael Antognolli 2370420e60 ecore/wayland: Don't check for ecore-wayland before even building it.
Actually, this variable wasn't being set on any other backend, so I just
removed it from wayland-egl. I guess it was just a copy & paste typo
when merging ecore into the EFL tree.

SVN revision: 80266
2012-12-05 16:33:42 +00:00
Rafael Antognolli 518982f15c ecore: Don't check ecore-con dependencies if there are none.
"pkg-config --exists <none>" will return false, thus failing the
configure phase. Not sure if building ecore-con without curl makes sense
though.

SVN revision: 80265
2012-12-05 16:33:37 +00:00
Gustavo Sverzut Barbieri b270a6b0c4 efl/evas: do not show pipe rendering if there is no option to set it.
SVN revision: 80235
2012-12-05 12:34:19 +00:00
Gustavo Sverzut Barbieri cacf7afbbf fix EIO_LIBS contents to proper variable.
vtorri: I told you these names are very very error prone. I did the
mistake while reading it before, raster did the same today and even
yourself did a typo. The "pc", "libs" and similar in the middle of a
long variable name is easy to miss! Even more if the prefix is
"requirements_" :-(



SVN revision: 80234
2012-12-05 12:28:53 +00:00
Gustavo Sverzut Barbieri dfe93a7f0a directfb says bye...
After agreement in the mail list, core developers agree to remove this
engine that was not being supported for a long time.

Given that most operations Evas uses are not accelerated in DirectFB,
or at least hardware that exclusively supports DirectFB, it's better
for those people to just use Evas/Ecore software (buffer) rendering
and expose DirectFB's framebuffer as destination surface.



SVN revision: 80232
2012-12-05 12:24:01 +00:00
Sung-Jin Park 2636da4e00 From: Sung-Jin Park <sj76.park@samsung.com>
Subject: Re: Re: Re: [E-devel] Fwd: Review request : [Ecore XI2] Add
codes for selecting/retrieving XI2 touch events

Dear developers,
I added codes for selecting XI2 touch events(cf. XI_TouchBegin,
XI_TouchUpdate and XI_TouchEnd)
and codes for retrieving touched finger(s) index from corresponding
events.



SVN revision: 80218
2012-12-05 06:57:30 +00:00
Vincent Torri c49fd9d32b and update eio.pc.in too (+ minor stuff)
SVN revision: 80184
2012-12-04 18:01:02 +00:00
Vincent Torri 81c86b19f6 merge: eio + fix compilation on windows + minor fixes + po files
don't move eio to IN-EFL right now


SVN revision: 80180
2012-12-04 17:40:58 +00:00
Christopher Michael 93bc9597b2 Remove unnecessary comment.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 80148
2012-12-04 12:50:58 +00:00
Christopher Michael 776e83a048 No wayland on windows, evil not needed.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 80142
2012-12-04 10:47:35 +00:00
Christopher Michael 313ad7e69b Patch from Jérémy Zurcher <jeremy@asynk.ch> to fix ecore_evas_wayland
compilation checks.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 80140
2012-12-04 09:52:24 +00:00
Vincent Torri 46d4358209 Ecore: add examples
SVN revision: 80097
2012-12-03 19:36:16 +00:00
Carsten Haitzler 4f48fd72d0 lets not break the world by missing size checks!
SVN revision: 80068
2012-12-03 14:14:05 +00:00
Iván Briano 509abd1aed Fix build of IMF modules
SVN revision: 80066
2012-12-03 13:33:03 +00:00
Vincent Torri bb126da576 ecore: fix distcheck
SVN revision: 80030
2012-12-03 09:16:33 +00:00
Vincent Torri 7f72a8ce64 remove comment
SVN revision: 80025
2012-12-03 08:36:42 +00:00
Vincent Torri dc0c272d2f ecore: remove useless ECORE_HAVE_EET, remove old XCB code and remove BUILD_ECORE_CON checks as ecore_con is always compiled anyway
SVN revision: 80024
2012-12-03 08:35:53 +00:00
Cedric BAIL d2db7f68fd efl: fix some typo due to recent merge of ecore.
SVN revision: 80003
2012-12-03 03:55:20 +00:00
Vincent Torri 7d6010b12c merge: add escape ecore, fix several bugs
SVN revision: 79995
2012-12-02 22:35:45 +00:00
Vincent Torri 4ae8b8cf86 merge: do not use recursive make for unit tests
SVN revision: 79413
2012-11-18 07:12:38 +00:00
Sebastian Dransfeld 68507cdf07 efl: -o to || test
SVN revision: 79338
2012-11-15 11:15:46 +00:00
Iván Briano fa2b4d90e5 Fix static building of the X11 engines
SVN revision: 79307
2012-11-15 02:35:55 +00:00
Vincent Torri 80910393d6 merge: add evas tests and examples
SVN revision: 79300
2012-11-14 20:12:53 +00:00
Sebastian Dransfeld 969e89bec4 evas: build jpg saver if loader is static
SVN revision: 79253
2012-11-13 22:39:53 +00:00
Vincent Torri af05d9234a Eina: set module arch for cygwin
Patch by Yaakov Selkowitz


SVN revision: 78954
2012-11-07 00:52:49 +00:00
Vincent Torri c163de7b32 merge: fix compilation on Windows
SVN revision: 78952
2012-11-06 23:07:05 +00:00
Vincent Torri 3b16fb0fe3 merge: windows: i will support only gcc >= 4.7.2, where -mms-bitfields is eanbled by default
SVN revision: 78936
2012-11-06 06:57:51 +00:00
Vincent Torri e47bd2a9a5 merge: evas
* remove magic debug output in evas part
 * always use version for pc file, it's actually safe
 * fix compilation of gl-sdl
 * avoid circular dependency of libevas on itself


SVN revision: 78935
2012-11-05 23:48:30 +00:00
Vincent Torri 8091219f10 merge: evas fixes
* gl engines were checking for eet module, which does not
   exist when we install first the efl package.
 * fix pkgconfig values for static linking
 * add Evas output to configure


SVN revision: 78918
2012-11-05 09:25:44 +00:00
Vincent Torri c15e9c6575 merge: and now Evas
I've tested make -j 3 install and it works nicely

I've tested expedite with software and opengl xlib,
and it works. Not tested other engines, so please
report any problems (engines or other) on the ML.

TODO: examples and tests, I'll add them later

ISSUE: Eina_Unicode size check. It indirectly depends on
       eina_config.h, which is created at the end of the
       configure script. So its size is always 0. I don't
       know how that size is used, so I can't do a lot,
       for now.


SVN revision: 78895
2012-11-04 11:51:42 +00:00
Vincent Torri 58a9a0ad57 merge: don't use recursive subdirs. Compilation should be faster.
Please check.

note1: Only lib and bin for now, but should be extended to other stuff
note2: distcheck does not work because eo_suite is failing.


SVN revision: 78758
2012-11-01 12:56:52 +00:00
Vincent Torri 5bdb5d3763 merge: add embryo
please check and report problems (not cosmetic ones)

someone should update the efl.spec.in file, i don't know that stuff


SVN revision: 78512
2012-10-26 09:01:52 +00:00
Vincent Torri 124e0d4afd merge: add a holdall variable
SVN revision: 78503
2012-10-26 06:57:11 +00:00
Vincent Torri aac3e95ccf merge: -Wl,--enable-auto-import is useless with recent versions of gcc on Windows
SVN revision: 78495
2012-10-25 22:01:28 +00:00
Vincent Torri ab5f1849e3 cosmetic
SVN revision: 78359
2012-10-23 06:30:48 +00:00
Vincent Torri 98de831563 merge: move stuff
SVN revision: 78355
2012-10-23 06:12:37 +00:00
Vincent Torri e2fc0143f8 merge: add version for Evil requirements
SVN revision: 78351
2012-10-23 05:56:57 +00:00
Vincent Torri 77d90bd45e merge: pass directly to the preprocessor the Windows macro instead of using autotools
SVN revision: 78350
2012-10-23 05:43:57 +00:00
Vincent Torri 4aae3528c0 merge: use package version instead of 1.7.99
SVN revision: 78349
2012-10-23 05:23:25 +00:00
Vincent Torri ad6c7f60ce merge: useless (and wrong anyway) test, add reminder, and remove comment
SVN revision: 78346
2012-10-22 21:31:10 +00:00
Vincent Torri 6f5fcf8025 merge: better output
SVN revision: 78345
2012-10-22 21:16:49 +00:00
Vincent Torri 2a59de8a60 and that one too
SVN revision: 78344
2012-10-22 21:05:28 +00:00
Vincent Torri 87fb22dd96 merge: remove useless define
SVN revision: 78343
2012-10-22 21:03:29 +00:00