Commit Graph

450 Commits

Author SHA1 Message Date
Mike Blumenkrantz 9bf1f44fb3 better fix for gettext macro versioning which doesn't break legacy support... 2013-08-22 13:59:27 +01:00
Dan Mashal 9a7c834c9c Update for automake 1.13+ 2013-08-22 11:35:52 +01: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 a62064f221 Move Eeze detection Above ecore_evas engine detection.
Ecore_Evas_Drm will rely on Eeze for drm device discovery, so we need
to check for eeze requirements before ecore_evas.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 08:05:39 +01:00
José Roberto de Souza 76e69f9323 ecore system: Add Tizen backend 2013-08-15 14:46:30 -03:00
U. Artie Eoff 56ca91dec0 configure: relax xkbcommon version requirement for ecore-wayland
Summary:
Allow ecore-wayland to be configured and compiled with xkbcommon 0.3.0.
Ecore-wayland does not use any of the new APIs in 0.3.1 nor is it exposed
to the bug that was fixed in 0.3.1.

Most distros don't include xkbcommon > 0.3.0 yet.  Thus, if 0.3.1 is
required right now, then everyone is forced to build xkbcommon, too,
which contributes to dependency *madness*.  Of course, anyone is still
welcome to build and link to xkbcommon 0.3.1 at will.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>

Reviewers: devilhorns, antognolli

Reviewed By: devilhorns

Differential Revision: https://phab.enlightenment.org/D203
2013-08-13 08:16:22 -07:00
Mike Blumenkrantz cd612516bd dns.c is the default resolver in ALL cases when we have a C99 compiler, not just when ipv6 is available. 2013-08-12 08:39:57 +01:00
Gustavo Sverzut Barbieri c0c5736a4e ecore: add system modules, implement 'systemd'.
Ecore will now load "system modules" on ecore_init(). The "systemd"
module will use DBus to monitor localed, hostnamed and timedated and
add system events related to those changes.
2013-08-09 14:28:02 -03:00
Chris Michael 51ab524980 Require up-to-date wayland-client library for ecore_imf wayland module
support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-07 07:48:06 +01:00
Chris Michael e21f6e455d Add wayland library version checks to configure.ac for EFL 1.8
NB: As of today, EFL Head will require an up-to-date version of the
wayland libraries.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-07 07:41:28 +01:00
Adrian Negreanu 74fadb26fa configure: fix build when disabling ecore_con and crypto.
configure command:
./configure --disable-ecore-con --disable-curl --with-glib=no --with-crypto=none

EFL_CRYPTO_DEPEND macro appends the crypto libraries to the ECORE_CON dependency list.
In case the ECORE_CON dependency list and the build_crypto are both empty
the resulting list will only contain " ", resulting in an error

configure: error: Package requirements ( ) were not met:

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
2013-07-29 13:20:49 +01:00
Cedric Bail c6f999aa46 efl: add a macro for beta API support. 2013-07-23 11:27:29 +09:00
José Roberto de Souza dadf38cb2f Add option to disable scim and ibus ecore_imf backend 2013-07-05 15:06:05 -03:00
Daniel Willmann 6aa69a0c7d Revert "configure: Link eina to librt. This is needed for shm_* calls"
This reverts commit 6445fea318.

Jenkins seems lost without it, but this is wrong on some platforms. Need
to solve it another way.
2013-07-01 09:18:25 +01: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
Daniel Willmann 6445fea318 configure: Link eina to librt. This is needed for shm_* calls
Recent clang breaks with linking errors:
lib/eina/.libs/libeina.so: undefined reference to `shm_open'
so fix.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 11:10:57 +01:00
Cedric Bail e920c2cc76 efreet: make geteuid an optional function. 2013-06-26 11:24:29 +09:00
Cedric Bail 443a1db04a eet: move the dependency for crypto. 2013-06-25 12:16:03 +09:00
Jan Arne Petersen f656aa397f ecore_imf: Add support for wayland
Add an input method module supporting the Wayland input method protocol.

In v2:
 - Missing call to ecore_wl_shutdown() in im_module_shutdown()
 - Access the already stored 'wayland globals' with ecore_wl_globals_get()
 - Fixed compilation by adding -I(top_srcdir)/src/efl to CFLAGS
 - EFL formatting fixes

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-24 16:14:14 -03:00
Doug Newgard 95bc804a2e efl: fix systemd spelling.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-24 12:04:18 +09: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
Chris Michael 295b7842b1 Start on ecore_evas Drm code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-14 10:49:14 +01:00
Daniel Willmann 59e011b67c evas loaders: There is no SVG loader any more, remove the options for it
We don't want the build to fail just because someone tried to enable
non-existent support.
2013-05-07 08:29:44 +01:00
Rafael Antognolli b9836fbc07 Revert "ecore_audio: Add alsa support"
This reverts commit 4db03f700c.
2013-05-03 17:44:07 -03:00
Daniel Willmann 4db03f700c ecore_audio: Add alsa support
This is not well tested and thus disabled by default

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-05-03 17:04:11 +01:00
Chris Michael da0fd5c671 Add "--enable-drm" for drm engine.
Add evas engine check for drm

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 12:34:39 +01:00
Carsten Haitzler b9e8a0e123 and emove efl eo api macro. 2013-04-25 00:39:57 +09:00
Carsten Haitzler 7dfe2c5573 add --with-api=XXX (both|legacy|eo) to define which api set to enable
by default (default == both).
2013-04-25 00:32:13 +09:00
Carsten Haitzler daac3fb794 add a global Efl_Config.h for everyone.
* ned to replicate changes in other .pc.in files
* need to replicate changes in other E*.h installed header files
2013-04-24 23:43:33 +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
Daniel Zaoui 337fac0e73 Eo: pointers indirection mechanism for objects and classes
Summary: This feature replaces Eo pointers with ids to prevent bad usage
or reuse of these pointers. It doesn't change API.
The mechanism uses tables storing the real pointers to the objects.
See the src/lib/eo/eo_ptr_indirection.c file for more details on the
mechanism.
2013-04-23 09:50:40 +03:00
Daniel Willmann 94ae0e906d ecore_audio: Don't fail configure with --disable-audio
Who knew I should test all these different possibilities...

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19 16:16:34 +01:00
Daniel Willmann de265a994a ecore_audio: Make efl compile with PA disabled again
Now instead of having ifdefs in the .c files we just don't compile the
ones we don't need. Much cleaner.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-19 13:43:52 +01:00
Ryuan Choi be22889f7b Added EFLConfigVersion.cmake.in for all XXXConfigVersion.cmakeNeeds Review 2013-04-04 09:28:35 +01:00
Stefan Schmidt 815d452303 eeze/sensor/tizen: Require a minimum tizen system sensor lib version.
This allows us to use more sensor types without any ifdef hell.
2013-04-03 17:14:20 +01:00
Mike McCormack 6777b743d2 Check for -Wshadow warnings with globals
Signed-off-by: Mike McCormack <mike@atratus.org>
2013-04-03 22:39:57 +11:00
Carsten Haitzler d0bfeaf7eb we have spec files... lets add arch pkgbuild stuff too :) 2013-03-31 22:22:19 +09:00
Cedric Bail fe409a5b42 systemd: make it require at least 192 to work. 2013-03-30 19:29:14 +09:00
Alex-P. Natsios 75777b2304 Fixed behavior of --disable{-xine,-v4l2} 2013-03-29 22:14:34 +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 4cf7cc8502 evil: fix massive typo that was relying on Evil previous installation. 2013-03-24 20:42:28 +09:00
Tom Hacohen d84de4adf1 Disable cow magic in dev profile, instead of a hack in the source.
Well played cedric, making me revert your patch and thus breaking the build.
2013-03-19 15:45:44 +00:00
Cedric BAIL 5f2ec224e9 eina: speed up Eina_Cow.
* Use Eina_Hash instead of Eina_List to remember what memory did change.
* Turn off Eina_Cow use of Eina_Magic when doing a release as it is only
used internaly and we should not make any mistake there.
2013-03-19 15:11:50 +09:00
Cedric Bail 06ce7c2ede eina: add support for Systemd journal in Eina_Log.
NOTE: if you start your process with Systemd it will automatically use
Journald API. You will need to overide the default logging function to
change that behavior.
2013-03-16 22:49:32 +09:00
Cedric Bail 6fdaef0259 efl: fix compilation on Windows when no Evil library is installed. 2013-03-16 16:33:57 +09:00
Cedric Bail 338412434c edje: fix edje_watch compilation on Windows. 2013-03-16 15:40:36 +09:00
Cedric Bail 1959898724 ecore_con: improve portability. 2013-03-16 15:40:26 +09:00
Cedric Bail 709b975ca3 check fchmod existence for portabilityy 2013-03-13 17:04:32 +09:00
Cedric BAIL 23c320dd34 efl: final decision, if you have systemd use --enable-systemd. 2013-03-12 16:09:09 +09:00
Carsten Haitzler 3d3cdf0944 i have no idea what has happened here, but older glibs REQUIRe you
g_thread_init andf link to libgthread...
2013-03-12 15:30:02 +09:00
Iván Briano 3098e886b8 I missed one, thus the build failure.
Now if cedric wants to put the want_systemd back in, the detection
should work
2013-03-11 21:19:30 -03:00
Carsten Haitzler 06fd353123 no. this makes systemd COMPULSORY unless you --disable it. since the
vast majority of people wont have systemd... and won't be able to
install it to meet deps, this is an onerous requirement to make them
--disable it.
2013-03-12 09:02:47 +09:00
Iván Briano bdbf74f882 Fix systemd detection
The EFL_OPTIONAL_DEPEND_PKG sets have_systemd=no before checking, so we
need to pass the want variable instead or it will always be disabled.
2013-03-11 20:32:42 -03:00
Mike Blumenkrantz a91814f0e0 blacklist gnutls < 2.12.16
in a move which is sure to make me hugely unpopular once again, I'm blacklisting a huge number of gnutls versions which I can't compile because at least some of them are 100% broken and will not work. the rage forecast is looking to see some hot winds blowing in from the debian/ubuntu quagmires, though users from more modern regions are not likely to notice any changes
2013-03-11 06:16:12 +00:00
Cedric Bail 3fe8098e9c include some header files conditionally add specific test for fcntl 2013-03-11 10:34:47 +09:00
Cedric BAIL 9550f95d14 systemd: so now want means optional and not required. 2013-03-11 10:22:48 +09:00
Cedric Bail 8d5e33077e efl: use HAVE_FCNTL around call to fcntl. 2013-03-10 23:10:27 +09:00
Carsten Haitzler aac1bbb017 ummm REQUIRING systemd is a REALLY bad idea (even if u can --disable it) 2013-03-10 22:02:27 +09:00
Cedric Bail 29299ea2ab ecore: notify systemd automatically when the main loop is starting. 2013-03-10 21:21:19 +09:00
Cedric Bail cf26a36fec evil: cleanup compiler flags.
- Pass EVIL_CFLAGS to C++ compiled files (needed for -DEF_EVIL_BUILD)
- Some warning flags should not be passed to C++ compiler, so put them in another variable
2013-03-10 20:33:57 +09:00
Cedric Bail c2ed021738 eeze: be cleaner and always declare variable just in case. 2013-03-10 17:50:44 +09:00
Cedric Bail c70e82bf44 eeze: put all the AM_CONDITIONAL outside of the ninja if. 2013-03-10 16:00:39 +09:00
Cedric Bail 9176271492 ecore_con: add systemd socket activation.
Be careful, systemd socket activation require you to always order
server socket creation in the same order as defined in the unit file.
This means ecore_con_server_add should always been in the same order
for those of them using systemd socket activation.
2013-03-10 16:00:32 +09:00
Cedric BAIL fcf0f02ac3 eeze: correct a typo to enable the correct build. 2013-03-06 23:22:29 +09:00
Cedric BAIL 238e5951bb eeze: handle all version back as we did in 1.7. hopefuly. 2013-03-06 23:07:39 +09: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
Cedric BAIL fe21e281a7 eeze: add back support for older system.
Support for older system that don't come with libmount or have
an older libmount. This is a backport from Eeze 1.7 tree. There
is no code change there.
2013-02-21 17:19:35 +09:00
Cedric BAIL 91711d8a69 ecore: add Ecore_Coroutine.
That work clearly was possible thanks to Leandro. If you want more information
go to his blog : http://tia.mat.br/posts/async_io_with_coroutines/ .

The main difference with his implementation is more portable and not thread safe.
It does not have a custom swapcontext (would make sense as we don't need to save
the sigcontext) so it will be less fast. If people are ready to contribute asm
patch for that purpose I will be happy to apply them.

As for portability this code should work on all architecture we already support
thanks to a nice hack with setjmp/longjmp borowed from libcoroutine. We do use
Fiber for Windows support, but as 1.8 is completely borken in that regard, this
is theorical work only.

Thinks left to do :
- Eoify the API
- Documentation
- More tests
- Add support for coroutine in fd handler
- Add coroutine support to ecore_thread api
- Write some example
2013-02-18 14:38:33 +01:00
Carsten Haitzler a7cd80338e Fix emotion build to add eeze includes if EEZE on.. not v4l2! 2013-02-18 19:35:58 +09:00
Cedric BAIL 884c31df41 eina: fix siginfo detection.
Signal are not a portable way to detect memory mapped file corruption.
So let's disable it for system without signal and later find a way to
detect it on other system.
2013-02-18 16:46:52 +09:00
Tom Hacohen 0f3d5509bc Efl: Ship cmake configs (like pkg-config).
This should make it easier for applications to use efl with cmake.
It seems to work with my tests. It's ugly and redundant but it's the first
step. Not all the components are supported at the moment.

SVN revision: 83637
2013-02-05 16:19:37 +00:00
Daniel Willmann ed92993aab efl: Add switch to enable edje-multisense
/vtorri NEWS and ChangeLog

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 83381
2013-01-28 15:15:32 +00:00
Bruno Dilly ce199b41d1 efl: Support AM_PROG_AR in build sys when available
Patch by Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 83306
2013-01-24 16:18:07 +00:00
Christopher Michael a2dfe25719 Change wayland shm engine to use proper macro.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83271
2013-01-24 09:20:32 +00:00
Carsten Haitzler 6c12934bb1 disanle AM_PROG_AR... see comment in configure.ac
SVN revision: 83113
2013-01-22 23:52:40 +00:00
Gustavo Sverzut Barbieri 44732c72d9 relax that test.
seems autoconf is stupid and cannot agree on a single variable to
store stuff, if you give ./configure CXX=bla it will change
everything.

Relax the test and just use CXX, if it's set, believe it's usable.



SVN revision: 83008
2013-01-19 15:46:57 +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 eb7abae5c5 remove useless AM_CONDITIONAL
SVN revision: 83006
2013-01-19 14:14:21 +00:00
Gustavo Sverzut Barbieri 7a60e815e2 fix one more build break due DSO (now gcov-related).
SVN revision: 82997
2013-01-18 19:44:19 +00:00
Gustavo Sverzut Barbieri 68610d3d28 fix c++ check on some platforms.
i guess it was automake change (1.11 x 1.13)


SVN revision: 82996
2013-01-18 19:33:02 +00:00
Gustavo Sverzut Barbieri acb864c987 fix report of test command summary
SVN revision: 82994
2013-01-18 19:15:14 +00:00
Gustavo Sverzut Barbieri 475ed5548d Use -Wl,--no-copy-dt-needed-entries to force DSO everywhere.
-Wl,--no-copy-dt-needed-entries (previously known as --no-add-needed)
 will tell the linker to not recursively copy DT_NEEDED from one
 library. This is the new behavior some distros are wisely using, so
 let's force it everywhere.

 * http://wiki.debian.org/ToolChain/DSOLinking
 * http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking



SVN revision: 82992
2013-01-18 18:54:44 +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
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 6242f4543c efl: disable for now the libgcrypt check so thinks build.
SVN revision: 82916
2013-01-17 02:36:09 +00:00
Gustavo Sverzut Barbieri fadeb72831 eeze's mount shouldn't be optional.
eeze is just used on linux, where libmount exists and then we
shouldn't make this an option so we can rely on eeze's mount being
there.

(the code keeps the #ifdef's for a while, in case we need to revert that later)



SVN revision: 82901
2013-01-16 21:05:19 +00:00
Gustavo Sverzut Barbieri 9463885e78 be strict about c++ compiler.
SVN revision: 82900
2013-01-16 20:53:35 +00:00
Gustavo Sverzut Barbieri bc6f4c0b8d Make ecore_cocoa use the EFL_LIB_START_OPTIONAL(), remove cruft, add TODO.
It seems that Cocoa engines were not working, so they're still disabled.



SVN revision: 82899
2013-01-16 20:43:49 +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
Lucas De Marchi 1d295abac0 efl: use autotools testsuite for running tests
Instead of just making our own "check-local" and calling the binaries
ourselves, just append them into "TESTS" variable. Then they run after
all check_PROGRAMS are compiled.

The reasons for changing are:
  1) If we change the test and call "make check" the test is not
  compiled again -- and the only way to compile it is to "make clean".
  2) There's no need to reinvent the wheel here.

With a recent version of Automake, the test output is redirected to log
files. This is good but unexpected for whom was used to the previous
way. So, be warned.



SVN revision: 82841
2013-01-15 20:51:04 +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 a4b89a16ac fix scim and ibus imf dependencies.
we must not use PKG_CHECK_MODULES() for internal dependencies, as
their pc were not installed at the time of configure.



SVN revision: 82825
2013-01-15 16:55:14 +00:00
Leif Middelschulte 31bd3af105 Prepend svnversion command with LC_ALL=C so the subsequent grep works with non-english locales too.
This patch was brought to you by:
sed -i'' 's/svnversion/LC_ALL=C svnversion/' configure.ac

Anybody who has the entire trunk and branches around is welcome to apply an analogue patches to it.


SVN revision: 82822
2013-01-15 15:57:58 +00:00
ChunEon Park ca0cc1cbc9 efl/ecore_imf - need dependecy from imf modules.
SVN revision: 82801
2013-01-15 12:51:16 +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
Lucas De Marchi 2d7e10363d efl/efreet: remove clearenv usage
This improves the tests on freebsd, which doesn't have clearenv()  (
though this commit was untested on such environement). clearenv was
rejected from POSIX so we better aim to stop its usage. However since
tests use setenv() this may lead to leaks, but it's better a leak than a
failing test.

On Linux all tests that were passing continue to pass.



SVN revision: 82779
2013-01-14 21:04:22 +00:00
Lucas De Marchi a2d1bd89d7 efl: remove check for openat function
This function is being used nowhere, so no need to check for its
availability.



SVN revision: 82777
2013-01-14 21:04:11 +00:00
Gustavo Sverzut Barbieri f07856769a use our custom version to test dirfd().
it was reported that AC_CHECK_FUNCS() couldn't work on netbsd because
dirfd is a macro and it would not properly evaluate int that
traditional test.



SVN revision: 82736
2013-01-14 00:09:47 +00:00
Gustavo Sverzut Barbieri fe0df086f3 efl/evas_cserve2 slave just need -lrt, not whole evas deps/libs
SVN revision: 82732
2013-01-13 23:12:40 +00:00
Gustavo Sverzut Barbieri 3815810b1a clean up benchmark and example rules.
- they have no 'all' rule, keep out of SUBDIRS

 - they depend on 'all-am', the non-recursive target that builds everything.

 - they do not need a directory on its own to declare nothing.x



SVN revision: 82689
2013-01-12 07:38:26 +00:00
Gustavo Sverzut Barbieri 00f59eaf54 turn on automake warnings and fix them.
using their recommended way to implement silent rules.


SVN revision: 82686
2013-01-12 06:50:35 +00:00
Gustavo Sverzut Barbieri 4f52ae0f1b efl/ethumb: the test is actually an example.
SVN revision: 82676
2013-01-12 03:59:25 +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
Gustavo Sverzut Barbieri 7d5e6fffb9 efl/configure: fix AM_CONDITIONAL() error if eeze is not to be built.
SVN revision: 82649
2013-01-11 17:07:04 +00:00
Gustavo Sverzut Barbieri 85f8163c3e efl/ecore_evas: merge buffer into core, split extn apart.
buffer is lightweight and dependency for many engines, merge it back
into core.

extn is a module on its own, and it's the only one linking to
ecore_ipc, no need to add that to ecore_evas.

minor cosmetic changes to configure to make output consistent.



SVN revision: 82648
2013-01-11 16:57:21 +00:00
Gustavo Sverzut Barbieri f0a0fd7f4e efl: fix option for gstreamer.
Thanks to Nicolas Aguirre


SVN revision: 82604
2013-01-11 03:22:03 +00:00
Lucas De Marchi 06ff74834f efl: remove checks for socket.h, net/*, arpa/*
SVN revision: 82585
2013-01-10 20:26:02 +00:00
Lucas De Marchi 90ba30ec7c efl: remove checks for sys/select.h, sys/time.h and sys/resource.h
SVN revision: 82584
2013-01-10 20:25:57 +00:00
Lucas De Marchi f1ca8b54d6 efl: remove check for langinfo.h and locale.h
SVN revision: 82583
2013-01-10 20:25:53 +00:00
Lucas De Marchi 4af2647d05 efl: remove check for libgen.h
SVN revision: 82582
2013-01-10 20:25:48 +00:00
Lucas De Marchi 3e4eb4437e efl: remove check for errno.h
SVN revision: 82581
2013-01-10 20:25:44 +00:00
Lucas De Marchi 23b741699f efl: remove check for inttypes.h and stdint.h
SVN revision: 82580
2013-01-10 20:25:39 +00:00
Lucas De Marchi f60bfe38d6 efl: Remove check for siginfo.h and siginfo_t
SVN revision: 82579
2013-01-10 20:25:35 +00:00
Lucas De Marchi 8f86ee2065 efl: Remove check for signal.h
SVN revision: 82578
2013-01-10 20:25:31 +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
Lucas De Marchi 3dc661e710 efl: Remove check for strings.h
* strings.h: is very useful, very old and very standard. The only place
that checks for that is simple_xml_parser and I have no idea why



SVN revision: 82576
2013-01-10 20:25:21 +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 36c5d249ff efl: too much c&p
SVN revision: 82487
2013-01-09 22:22:39 +00:00
Gustavo Sverzut Barbieri b34b60d026 efl: fix typo, extra 'x' in there.
SVN revision: 82486
2013-01-09 22:21:40 +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
Carsten Haitzler a63fa0e4a6 oops- the other one. fuck. too much context switching - i can't focus
on any one thing at all lately. crap.



SVN revision: 82431
2013-01-09 02:04:26 +00:00
Carsten Haitzler 78611de1f9 oops i meant to turn on calc cache.. not program cache... calc cache
was the problem... but oddly turning on program cache fixed it too. :)



SVN revision: 82430
2013-01-09 01:28:48 +00:00
Gustavo Sverzut Barbieri 26fa0cc64c efl: --with-profile=dev implies --with-tests=regular
if --with-tests={none,coverage} is given, those are used. Just the
default is changed.



SVN revision: 82412
2013-01-08 13:39:25 +00:00
Gustavo Sverzut Barbieri fb0daf5262 efl/edje: conditional usage of fixed-point, program/calc caches.
Weirdly enough raster turned PROGRAM cache on to fix a bug saying that
the other path was not tested, but from IN-EFL/edje/configure.ac CALC
cache was enabled and PROGRAM was disabled.

I kept the PROGRAM on and enabled CALC. Added fixed point as well.

Cedric, Raster: should we keep PROGRAM and CALC cache options if the
other path is not tested? Can't we assume they are always on? How much
memory these cache add? Can't this be reduced?



SVN revision: 82410
2013-01-08 13:32:07 +00:00
Jihoon Kim 240c0637fb efl: fix bug ecore imf module wasn't loaded
SVN revision: 82377
2013-01-08 02:28:48 +00:00
Gustavo Sverzut Barbieri 2de9608b27 efl: check realpath.
a warning in edje brought to attention that we were not checking for
that. also used in eet.



SVN revision: 82370
2013-01-07 22:52:27 +00:00
Gustavo Sverzut Barbieri 5286e5bfe0 efl: add back valgrind check, with enable option and warning.
SVN revision: 82368
2013-01-07 22:24:53 +00:00
Carsten Haitzler 984a147f9b edje merge forgot to define edje calc cache, by DEFAULT...
non-cacl-cache path not tested and buggy! :/



SVN revision: 82350
2013-01-07 15:17:37 +00:00
Carsten Haitzler 58aec6b1c6 valgrind off by default on all profiles.
SVN revision: 82331
2013-01-07 08:24:14 +00:00
Gustavo Sverzut Barbieri 7499e9dee0 efl: distcheck will run tests and compile all examples.
Tests are disabled by default, but they should be mandatory for
distcheck. So should be examples, we should have them to at least
compile.

As there is no way to force "make distcheck" to run "make examples",
I've created --enable-always-build-examples to make examples regular
noinst_PROGRAMS, being always compiled. distcheck will use that
option.



SVN revision: 82276
2013-01-05 14:41:14 +00:00
Gustavo Sverzut Barbieri 4a35861791 efl/ecore: hopefully fix all examples.
SVN revision: 82243
2013-01-04 23:51:53 +00:00
Mike Blumenkrantz 178aed7269 fix libmount version check
SVN revision: 82232
2013-01-04 20:00:04 +00:00
Leandro Dorileo 36ca515709 EPhysics: add BulletPhysics instructions
Add BulletPhysics build and install instructions and re-enable
ephysics.


SVN revision: 82221
2013-01-04 18:22:29 +00:00
Gustavo Sverzut Barbieri 30362b0638 efl/edje: pkg-config should know about physics status
SVN revision: 82175
2013-01-04 13:39:26 +00:00
Sebastian Dransfeld a107e6b007 efl: Default ephysics to no
SVN revision: 82164
2013-01-04 08:53:46 +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 9e0788cc2e efl: merge ephysics
changes:
 * __UNUSED__ -> EINA_UNUSED
 * Fixed doc hierarchy



SVN revision: 82126
2013-01-03 22:10:40 +00:00
Gustavo Sverzut Barbieri ae2410c4c9 efl/configure.ac: remove spurious variable.
SVN revision: 82102
2013-01-03 20:43:27 +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
Gustavo Sverzut Barbieri 0a2d116119 efl: eina_alloca.h to simplify alloca() usage.
having to replicate 18 lines per file just to access alloca() is
insane. Let's do that in Eina.h and avoid that crap :-/



SVN revision: 82082
2013-01-03 15:10:34 +00:00
Carsten Haitzler 75d36cb500 fridibi.h size check - fix .h location! :) it just so happens to work
as its in /usr/include/fribidi anyway ... by luck.



SVN revision: 82055
2013-01-03 11:04:54 +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
Gustavo Sverzut Barbieri 82b399d611 efl/configure.ac: remove disable-fast-install.
As reported by Doug Newgard it was causing problems and seems this is
the reason. No idea why it works for me in the same
distro/autoconf/automake.



SVN revision: 81959
2013-01-01 17:29:29 +00:00
Gustavo Sverzut Barbieri 014cd8065d efl/eio: use eina_file_copy()
SVN revision: 81944
2012-12-31 23:45:24 +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 12e0602452 efl: eio checks cleanup
some functions were being checked but their IFDEF not being handled,
others (getpwnam and getgrnam) were isolated in a code that is now
Windows, then no need to check them as well as these are POSIX.



SVN revision: 81934
2012-12-31 15:16:49 +00:00
Gustavo Sverzut Barbieri 385d994709 efl: fix valgrind check.
wrong variable name, thanks Doug Newgard for spotting it.


SVN revision: 81932
2012-12-31 14:24:47 +00:00
Gustavo Sverzut Barbieri fe7f441158 efl: remove --print-gc-sections: too annoying.
okay, remove that print as it will always print sections removed from
PIC leftovers, etc.

keep the --gc-sections, it's useful to shrink binaries. Developers
willing to delete dead code can --print-gc-sections themselves.



SVN revision: 81920
2012-12-31 01:45:14 +00:00