Commit Graph

159 Commits

Author SHA1 Message Date
Cedric Bail 2a29732e07 efl: let's try to detect in a portable way phtread around the world.
Linking to Pthread seems to be highly not portable. Look at lock.m4
macro if you want to understand the hell it is ! By following it
closely we should now have better portability than the 1.7.x release.
And of course than our alpha...
2013-11-12 16:06:22 +09:00
Cedric BAIL ecaca1d365 eina: detect page size in a portable way. 2013-11-10 09:25:16 +01:00
Chris Michael 5ec3ba041d Require wayland libraries of at least 1.3.0
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-04 13:52:27 +00:00
Carsten Haitzler b07c0a76ce alpha1 release autofoo/build tree work to pass distcheck and actually work 2013-11-04 18:33:35 +09:00
Cedric Bail 1b07350a46 eina: add Eina_Spinlock API. 2013-10-11 11:08:17 +09:00
Cedric Bail ff3d2a68d5 eina: add infrastructure to handle more CPU and compiler builtin information. 2013-10-02 20:54:50 +09:00
Vincent Torri 3b8b2ac66c evas: add JPEG 2000 loader.
This add finally support for JPEG 2000, but be aware that libopenjpeg
is very badly managed. There is currently only version 1.5.x that does
provide the right files, is usable by a third party and portable. You
can seriously forget any other version.
2013-10-01 16:38:44 +09:00
David Walter Seikel 857fcebbf9 Check for both Lua 5.1 and 5.2.
Patch inspired by a similar patch from Robert Heller.
2013-08-20 18:29:01 +10:00
Chris Michael 8f755af29f Require up-to-date versions of the wayland libraries for evas engine
support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-07 07:46:43 +01:00
Cedric Bail c6f999aa46 efl: add a macro for beta API support. 2013-07-23 11:27:29 +09:00
Jean-Philippe Andre 344eae9cbd evas: fix build when png12 is not around. 2013-07-03 10:09:31 +09:00
Cedric Bail 383592b444 eo: eo is absolutely necessary by now, can't be disabled any more. 2013-06-28 10:18:39 +09:00
Eduardo Lima (Etrunko) d3292a7ae9 Split .gitignore into multiple files
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:18:50 -03:00
Jérémy Zurcher 2370e968e5 image loaders m4: configure fail if not found and option is "yes" or "static"
fix T64
related to D133
2013-05-30 23:45:11 +02:00
Jérémy Zurcher 2ff44b6fac image loaders m4: add ARG_ENABLE_EVAS_IMAGE_LOADER to rule them all
possibles values: yes | static | auto | no
2013-05-30 23:31:32 +02:00
Lucas De Marchi d7eb3f74ad Remove unneded special cases after lib rename 2013-05-04 10:38:55 -03:00
Chris Michael 27c593afa9 Add EVAS_CHECK_ENGINE_DEP_DRM to m4
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 11:54:26 +01:00
Carsten Haitzler b9e8a0e123 and emove efl eo api macro. 2013-04-25 00:39:57 +09:00
Lucas De Marchi 4e3804041f Rename edbus->eldbus
git grep -l edbus2 | while read f; do sed -i 's/edbus2/eldbus/g' "$f"; done
find . -name '*edbus2*' -exec rename edbus2 eldbus {} \;

git grep -l "EDBUS" | while read f; do sed -i 's/EDBUS/ELDBUS/g' "$f"; done
git grep -l "EDBus" | while read f; do sed -i 's/EDBus/Eldbus/g' "$f"; done
git grep -l "edbus (v2)" | while read f; do sed -i 's/edbus (v2)/eldbus/g' "$f"; done
git grep -l "Edbus" | while read f; do sed -i 's/Edbus/Eldbus/g' "$f"; done
git grep -l "edbus" | while read f; do sed -i 's/edbus/eldbus/g' "$f"; done

find . -name '*edbus*' -exec rename edbus eldbus {} \;
find . -name '*EDBus*' -exec rename EDBus Eldbus {} \;
2013-04-23 12:36:29 -03:00
Cedric Bail 606c325bcd efl: add m4 macro to handle a way to enable/disable Eo API and EFL legacy API. 2013-04-23 16:44:39 +03:00
Stefan Schmidt 40e7751055 m4: With efl with binary macro to help cross-compilation
Stumbled over it while trying to give configure a working edje_cc
when doing cross-compile. The path was picked up but never set as
the Makefile_Edje_Helper.am guarded it with HAVE_EDJE_CC which we
never successfully assigned due to this typo.

Thanks goes to Daniel for another round of pair-bug-spotting.
2013-03-26 17:28:57 +00:00
Cedric Bail 1737dab7ec edje: work also when not cross compiling. 2013-03-24 23:44:04 +09:00
Cedric Bail 0fbe8161ba edje: add option to enable theme compilation when cross compiling 2013-03-24 22:59:44 +09:00
Cedric Bail 3fe8098e9c include some header files conditionally add specific test for fcntl 2013-03-11 10:34:47 +09:00
Tom Hacohen bc1ec328d3 Fix revision fetching when not using git. 2013-03-01 17:02:10 +00:00
Henrique Dante de Almeida ca8fc827a3 efl: Fixes to support compiling with CFLAGS=-Werror
This allows compiling with gcc 4.7.2 without errors (using the
default configuration).
2013-02-26 10:55:04 -03:00
Tom Hacohen 3a69dfcca1 Efl: Use git rev-list in order to get version instead of svnversion. 2013-02-15 16:13:50 +00:00
Christopher Michael 6f9d4f9fd4 Add wayland-client as a dependency for the evas wayland shm engine.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83210
2013-01-24 09:13:48 +00:00
Carsten Haitzler 64c4f34bc0 sorry - have to revert this as this brings the efl tree build to a
grinding halt - it wasn't great before.. but now it's totally broken. :(
e.g.:

/bin/bash ../libtool  --tag=CC   --mode=link ccache gcc -std=gnu99
-O2 -g -pipe -march=native -fvisibility=hidden -ffast-math -W -Wall
-Wextra -Wno-shadow -Wno-unused-but-set-parameter   -o bin/eet/eet
bin/eet/bin_eet_eet-eet_main.o -fvisibility=hidden -fdata-sections
-ffunction-sections -Wl,--gc-sections -fno-strict-aliasing
-Wl,--as-needed -Wl,--no-copy-dt-needed-entries    lib/eet/libeet.la

libtool: link: ccache gcc -std=gnu99 -O2 -g -pipe -march=native
-fvisibility=hidden -ffast-math -W -Wall -Wextra -Wno-shadow
-Wno-unused-but-set-parameter -o bin/eet/.libs/eet
bin/eet/bin_eet_eet-eet_main.o -fvisibility=hidden -fdata-sections
-ffunction-sections -Wl,--gc-sections -fno-strict-aliasing
-Wl,--as-needed -Wl,--no-copy-dt-needed-entries  lib/eet/.libs/libeet.so
/usr/bin/ld: bin/eet/bin_eet_eet-eet_main.o: undefined reference to
symbol 'eina_iterator_next'
/usr/bin/ld: note: 'eina_iterator_next' is defined in DSO
/usr/local/lib/libeina.so.1 so try adding it to the linker command line
/usr/local/lib/libeina.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status



SVN revision: 83112
2013-01-22 23:48:04 +00:00
Gustavo Sverzut Barbieri e532627b9f try to simplify internal library dependency.
Just use the lib/name/libname.la as libtool should be responsible to
emit dependencies to compiler when it evaluates.

This should reduce over-linking, also reducing the compile lines in
our verbose builds ;-)

NOTE: this seems to work on Fedora 18 (which also bitch about DSO), so
hopefully works on Debian and Ubuntu (and elsewhere).

Please revert if breaks builds!



SVN revision: 83105
2013-01-22 21:58:25 +00:00
Rafael Antognolli 4b552cb9f7 efl/evas: Use "with_opengl" option instead of "gl_flavor_gles".
The latter got replaced by the former one. This fix the building of some
GL engines when --with-opengl=es is used.

SVN revision: 83040
2013-01-21 16:05:02 +00:00
Gustavo Sverzut Barbieri ee3575e8c8 fix missing linkage with -lrt for shm_open users.
strange that nobody except hdante noticed this before, but it was
missing linkage with -lrt in libemotion (due generic being static) and
ecore_evas/extn.



SVN revision: 83007
2013-01-19 14:59:39 +00:00
Gustavo Sverzut Barbieri 727f9312df fix ecore_evas modules build broken by r82976.
Many thanks to billiob that was persistent enough to make me look at
it while I was calling it "impossible". That stupid variable was being
used in ecore_check_module.m4 :-(



SVN revision: 82999
2013-01-18 23:00:57 +00:00
Gustavo Sverzut Barbieri e2e25b3d3d fix flags and libs ordering.
linker (ld) is that kind of tool that argument order matters, if you
-Wl,--as-needed, it will be worth just for libraries following
it. Then we need to use EFL_LDFLAGS before everything else, otherwise
it end being useless.



SVN revision: 82991
2013-01-18 18:51:16 +00:00
Gustavo Sverzut Barbieri 331f3583c7 optimize check for compiler and linker flags.
do it once with all flags and just test individual if fails. Saves
dozen of compiler/linker runs.



SVN revision: 82983
2013-01-18 15:25:00 +00:00
Gustavo Sverzut Barbieri db38bdd6de cosmetic: simplify and colorize features.
EFL_ADD_FEATURE(PKG, NAME, [VALUE]) will do an amazing work to produce
colored output in a standard way.

if value == yes, it's green and shows "+name"
if value == no, it's red and shows "-name"
else it shows cyan and shows "name=value"

if not provided, will use ${have_name:-${want_name}}



SVN revision: 82976
2013-01-18 13:48:14 +00:00
Boris Faure ac4df627f7 efl: export vmin/vmic in edje.pc
It is used to know where to install external modules.

SVN revision: 82974
2013-01-18 13:01:36 +00:00
Gustavo Sverzut Barbieri 12a0f9388a clean some whitelines from already lengthly configure file.
SVN revision: 82951
2013-01-17 20:58:07 +00:00
Gustavo Sverzut Barbieri 88f2d26608 don't mix private and public libraries dependencies.
when I fixed eina's dependency on -lpthread I used all the libraries
eina links to. But we should just do with -lpthread as it's a public
dependency... that was in eina.pc.in and I missed.

Now we have EFL_ADD_PUBLIC_LIBS() that will register for
requirements_public_libs_name and use internally when eina is used.

This should also fix the problem by Arvind with gcrypt.



SVN revision: 82942
2013-01-17 18:55:32 +00:00
Gustavo Sverzut Barbieri eb7a8feef5 try to fix --with-crypto=gnutls due libcrypt-config usage.
Seems AC_PATH_GENERIC() wasn't present somewhere, then I'm adding the
AM_PATH_LIBGCRYPT() provided by libcrypt (I need to include it in m4/
otherwise it will fail for people doing ./autogen.sh without libgcrypt
installed).

It works on my machine, but `libgcrypt-config --libs` output is just
"-lgcrypt -lgpg-error", including no -L.



SVN revision: 82939
2013-01-17 16:47:36 +00:00
Cedric BAIL 098a745c4b efl: revert r82914 which was a revert of r82909.
SVN revision: 82915
2013-01-17 02:35:29 +00:00
Cedric BAIL 0bcbfcf4c1 efl: revert r82909 as it break build.
Symptom are dependencies is full of -lm -lrt -lsomething that can't
be found in the Makefile target.


SVN revision: 82914
2013-01-17 01:52:32 +00:00
Gustavo Sverzut Barbieri 2554b34a92 fix internal library linkage to pull in dependencies.
some libraries will need to pull more than its own .so, for example
Eina.h includes eina_lock.h that includes eina_inline_lock_posix.x
that will use pthread calls directly from user code.

This was already listed in eina.pc, but not being present in
USE_EINA_LIBS.



SVN revision: 82909
2013-01-16 21:25:58 +00:00
Gustavo Sverzut Barbieri ad1417713b simplify efl version and initialization in a macro, fixes libtool version-info.
Introduces EFL_VERSION() to make it simpler to define our version. The
last parameter is the release status, defaults to 'dev' for
development purposes and may be set to something else to be a
snapshot. It non-empty will be given to libtool's -release.

As EFL_VERSION() must be done *before* AC_INIT(), we need to create
another macro to do the AC_SUBST() and AC_DEFINE(). This is
EFL_INIT. And no, we can't just call AC_INIT() from inside EFL_INIT().

Last but not least, we had a problem with our libtool version-info. It
was being calculated as MAJOR + MINOR, right now 1 + 7 = 8. But as
soon as we get to MAJOR=2 and MINOR=0, we get into problems. This was
fixed by rewriting as (MAJOR * 100 + MINOR), but this is still
problematic.

According to libtool's manual (info libtool), we shouldn't bind the
version-info with package info, instead doing the 'release'
field. Pretty likely we'll do worse than expected by distros and
binary packages in future :-/




SVN revision: 82891
2013-01-16 17:24:36 +00:00
Gustavo Sverzut Barbieri 720a81d58c move ecore_imf_evas out of ecore_imf.
SVN revision: 82837
2013-01-15 19:11:01 +00:00
Gustavo Sverzut Barbieri c4e163fe4a move ecore_input_evas out of ecore_input.
we don't need this mess anymore :-P



SVN revision: 82836
2013-01-15 18:59:28 +00:00
Gustavo Sverzut Barbieri d97c63e4c6 fix directory structure: move ethumd_client out of ethumb.
it's another library, do not mix stuff as it used to be.




SVN revision: 82835
2013-01-15 18:10:58 +00:00
Gustavo Sverzut Barbieri b1bc5aeb24 efl: simplify automake.
Instead of -I$(top_srcdir)... -I$(top_builddir)... and then do it for
the .la, use the EFL_ macros to generate the contents to be used in
automake files.

There is a nasty bit that libtool will parse Makefile*.am and will not
get _DEPENDENCIES from _LIBADD and _LDADD if these are in
@REPLACEMENT@. To solve this we must explicitly set _DEPENDENCIES. The
contents of this is almost the same as _LIBADD or _LDADD with the
"_INTERNAL_" replacement name.

I hope the code will be result will be shorter and consistent as there
is less places to change when we add/remove dependencies.

Statistics are quite impressive (diffstat):
{{{
37 files changed, 663 insertions(+), 1599 deletions(-)
}}}



SVN revision: 82785
2013-01-14 22:36:23 +00:00
Gustavo Sverzut Barbieri 34f5315141 merge ethumb.
This one was a painful bitch. The edbus2 port was quite broken, mainly
leaking eina_stringshare and also not adding the '\0' to the strings
that are represented as bytearray (paths cannot be utf8 to avoid
translations).

Emotion plugin was also quite bogus and the video thumbnail as edje
(animated) is not working yet due bug in Edje_Edit api -- someone
needs to investigate this, seems strange.

Emotion plugin also had a bug that it was deleting the object from
inside object callback.

Now it seems to work. Please report if it does not.



SVN revision: 82675
2013-01-12 01:15:45 +00:00
Lucas De Marchi db395ef7eb efl: Remove check for unistd.h
* unistd.h: is very useful, very old and very standard.



SVN revision: 82577
2013-01-10 20:25:26 +00:00
Gustavo Sverzut Barbieri dfb84c1657 efl: merge emotion.
this one was quite a huge work, but hopefully it's correct.

NOTES:
 * removed vlc generic module, it should go into a separate package.
 * gstreamer is enabled by default (see --disable-gstreamer)
 * xine is disabled by default (see --enable-gstreamer)
 * generic is always built statically if supported
 * gstreamer and xine can't be configured as static (just lacks command line options, build system supports it)
 * v4l2 is enabled by default on linux if eeze is built (see --disable-v4l2)
 * emotion_test moved to src/tests/emotion and depends on EFL_ENABLE_TESTS (--with-tests), but is still installed if enabled.

TODO (need your help!):
 * fix warnings with gstreamer and xine engine
 * call engine shutdown functions if building as static
 * remove direct usage of PACKAGE_*_DIR and use eina_prefix
 * add eina_prefix checkme file as evas and others
 * add support for $EFL_RUN_IN_TREE
 * create separate package for emotion_generic_modules
 * check docs hierarchy (doxygen is segv'in here)



SVN revision: 82501
2013-01-10 03:43:32 +00:00
Gustavo Sverzut Barbieri 57090b2abb efl: improve X detection by Joel Klinghed.
* Split out ecore_imf_xim to do its own check

* Fixed problem with xcb's makekeys, no rule for
  $(top_builddir)/src/utils/ecore/makekeys$(EXEEXT) exists so make
  used an implicit rule (ignoring any cflags of course)

* Fixed gl_x11 engine to build with either Xlib or XCB (xcb flags were
  missing)

* Added EFL_FIND_X and replace any used of AC_PATH_X{,TRA}.  First
  looks for Xorg pkg-config files then if those arn't found it falls
  back to old AC_PATH_X. Also generalized common header and lib
  checks.  Could probably use some polishing (the AC_CACHE_VAL cruft
  especially) but this is what I have time for tonight.

Now X11 should be found on non-standard locations by means of xmkmf,
--x-includes/--x-libraries and also pkg-config.



SVN revision: 82475
2013-01-09 16:48:40 +00:00
Gustavo Sverzut Barbieri c0a827d2eb efl: removed as they are now unused.
SVN revision: 82231
2013-01-04 19:47:09 +00:00
Rafael Antognolli 317979226c evas/build: Fix gles detection for wayland-egl.
This is just a quick fix, that makes things work better for now. A
deeper change and fix of the checks and build system should be done
later.

SVN revision: 82182
2013-01-04 16:00:38 +00:00
Gustavo Sverzut Barbieri 9ea2ce1041 efl: merge edje.
this is still in progress, mostly the multisense stuff is pending.

it seems that when we merge ecore_audio in edje the libremix and
similar are gone, at least from Edje, and will be in ecore_audio
itself (or pulseaudio).

Changes:
 * __UNUSED__ to EINA_UNUSED
 * binaries (epp, embryo_cc, edje_cc) now consider EFL_RUN_IN_TREE and
   will assume the binaries are still not installed, running from
   build tree location (needs more testing, maybe doesn't work with
   srcdir != builddir, still doesn't solve cross compile builds)



SVN revision: 82139
2013-01-04 02:08:14 +00:00
Gustavo Sverzut Barbieri 68188ac0c8 efl: merge eeze.
Changes also in this commit:
 * fix missing EAPI in symbols used by modules
 * removed old libudev and libmount support as agreed by discomfitor/zmike
 * replaced __UNUSED__ with EINA_UNUSED
 * fixed docs hierarchy



SVN revision: 82100
2013-01-03 20:37:42 +00:00
Lucas De Marchi f1f81ca7c9 efl: stop depending on va_list type
va_list may be typedef'ed not only to array and pointer but also to a
plain struct. It could be made to work this way, but it's a lot simpler
a safer to not depend on it. To deal with the array corner case we copy
the va_list from the function arguments to the stack and call the "real"
function passing it.



SVN revision: 82017
2013-01-02 20:55:57 +00:00
Lucas De Marchi 1282bb2754 efl: use compile-time chec for type of va_list
Using AC_TRY_RUN is bad for crosscompiling since you can't run the
binary you compiled (if you are not using a canadian crosstoolchain).
In this case the check is omitted and HAVE_VA_LIST_AS_ARRAY remains
undefined, which is wrong if you are compiling in a x86_64 for an ARM
architecture.



SVN revision: 82000
2013-01-02 15:16:32 +00:00
Gustavo Sverzut Barbieri 8ba0561e49 efl: remove lstat and fchmod checks.
- fchmod() was isolated by HAVE_CHMOD, which was always present
   before... then fchmod() is also present as no errors were reported
   since its introduction.

 - fchmod() is POSIX for a while now.

 - lstat() is POSIX for a while now.

 - setxattr is supported by EFL_CHECK_FUNCS() as is used by eina.

 - splice() check added to EFL_CHECK_FUNCS()



SVN revision: 81938
2012-12-31 18:18:00 +00:00
Gustavo Sverzut Barbieri df1b3d30c4 efl: refactor CFLAGS, LIBS, LIBADD and LDADD usage.
- remove EFL_LIBS and EFL_CFLAGS, use per-lib values that inherit
   from EFL (general)

 - add NAME_LDFLAGS and EFL_LDFLAGS for linker flags.

 - LDADD (binaries) now use NAME_LDFLAGS instead of NAME_LIBS, as they
   link to libname.la and that will pull in the libtool dependencies



SVN revision: 81915
2012-12-31 00:46:14 +00:00
Gustavo Sverzut Barbieri 8bbef8fe28 efl: refactor EFL_CHECK_LIB() and EFL_CHECK_FUNC()
- introduce EFL_CHECK_LIB_CODE() that does the try-link

 - introduce EFL_FIND_LIB_FOR_CODE() that will use
   EFL_CHECK_LIB_CODE() into multiple libraries

 - also fix dladdr() test (was missing .h in #include <stdlib>)



SVN revision: 81909
2012-12-30 21:10:52 +00:00
Gustavo Sverzut Barbieri 1453b3848b efl: EFL_CHECK_LIBS() is strict, simplify it then.
as we abort (AC_MSG_ERROR) if not found, simplify the code.



SVN revision: 81907
2012-12-30 18:55:56 +00:00
Gustavo Sverzut Barbieri 1f423eb8e7 efl/configure: simplify configure.ac
more macros to aid common tasks, make it easier to read.



SVN revision: 81904
2012-12-30 18:08:55 +00:00
Gustavo Sverzut Barbieri fb27484376 efl/configure: simplify lib declaration.
added couple of macros:

 - EFL_LIB_START(PKG): setup variables and replacements (AC_SUBST),
   prints started checks
 - EFL_LIB_END(PKG): prints ended checks

 - EFL_LIB_START_OPTIONAL(PKG, TEST): wraps EFL_LIB_START() with a
   conditional test. defines AC_DEFINE(HAVE_PKG).
 - EFL_LIB_END_OPTIONAL(PKG): wraps EFL_LIB_END() with a conditional
   test, defines AM_CONDITIONAL(HAVE_PKG).



SVN revision: 81903
2012-12-30 15:21:33 +00:00
Carsten Haitzler b730378d18 RELEASE THE HOUNDS!... edbus missing m4 macro to detect va args list
type and that b0rxed edbus on 64bit. this fixes it. tnx to k-s for
pointing at it.



SVN revision: 81878
2012-12-29 16:03:28 +00:00
Bruno Dilly d0b3c4a96d efl: fix cflags for the case that x_includes in not empty
By Tomáš Čech <sleep_walker@suse.cz>



SVN revision: 80880
2012-12-13 15:23:49 +00:00
Daniel Juyung Seo 9d68ba83ff efl/m4 evas_dither.m4: Oops I didn't mean it and I've never added them. Explicit bug on git or svn.
SVN revision: 80531
2012-12-08 18:21:34 +00:00
Daniel Juyung Seo c75c7a67d5 elm elc_naviframe.c: Use EINA_LIST_FREE instead of EINA_LIST_FOREACH + eina_list_free.
SVN revision: 80529
2012-12-08 18:17:12 +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 6988d2685b efl/evas: fix m4 typos that prevented xcb from getting proper libs/cflags
SVN revision: 80504
2012-12-07 22:51:40 +00:00
Gustavo Sverzut Barbieri cc2e0f63d4 efl: always be strict on dependency checking.
SVN revision: 80498
2012-12-07 20:08:28 +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 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 d338bcac63 oops, missing file.
SVN revision: 80401
2012-12-06 22:22:38 +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
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
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
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 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
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
Vincent Torri 9e8e98f736 Evas: fix static gl engines compilation, and maybe others too
SVN revision: 80085
2012-12-03 16:54:10 +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
Viktor Kojouharov ee63a9e294 small typo in the evas requirements
SVN revision: 79127
2012-11-12 00:22:51 +00:00
Rafael Antognolli 5f4b30568b evas/wayland: set engine flags, instead of loader flags.
This was probably a typo.

SVN revision: 78969
2012-11-07 16:00:34 +00:00
Rafael Antognolli 0d19a3b349 Evas: build gl_xlib and gl_xcb even when gles flavor is selected.
SVN revision: 78968
2012-11-07 13:31:31 +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 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 e082ab0e74 Eina: add affinity to win32 code.
It's not working yet:
 * eina_thread.c:152:33: error: 'index' undeclared (first use in this function)
 * eina_thread.c:295:4: warning: passing argument 3 of '_eina_thread_win32_create' from incompatible pointer type [enabled by default]

also:

 * line 142, is it normal that we call eina_list_append() with tw being NULL ?
 * is what I did in the close_thread label correct ?


SVN revision: 78416
2012-10-25 05:21:58 +00:00
Cedric BAIL 97dc017571 efl: change a little bit API.
SVN revision: 78229
2012-10-19 07:13:08 +00:00
Carsten Haitzler 42a59387a6 add eina barrier to efl tree.
SVN revision: 78100
2012-10-17 03:55:35 +00:00
Gustavo Sverzut Barbieri 5b77d2068a efl: helper macro and remove duplicated defines.
AC_CHECK_HEADERS() will already define HAVE_STDINT_H and HAVE_INTTYPES_H.



SVN revision: 77834
2012-10-10 22:12:29 +00:00
Gustavo Sverzut Barbieri 3656a3a76a efl: m4 macro to ease config file creation.
SVN revision: 77832
2012-10-10 22:00:06 +00:00
Gustavo Sverzut Barbieri 63d205c607 efl: remove configure option to change mempool modules.
SVN revision: 77808
2012-10-10 20:46:29 +00:00
Gustavo Sverzut Barbieri 16b14f9ce5 efl: remove option to debug threads, now enabled based on build profile.
If --with-profile=dev, we enable threads debug.



SVN revision: 77806
2012-10-10 20:40:34 +00:00
Gustavo Sverzut Barbieri 3acb5dde8b efl: remove EINA_HAVE_ON_OFF_THREADS support.
it's still in the code, but not configurable anymore. We may remove it
later if not really needed.



SVN revision: 77802
2012-10-10 20:30:39 +00:00