Commit Graph

647 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 6bd0392339 configure alerts: be smarter regarding dbus and cover systemd.
Some people (I'm one of them) will do user-local builds of EFL and
don't want to install services in /usr, or provide links, rather
choosing to install in ~/.local/share/dbus-1. Then figure out this
case and do not show an alert when the setup is ready.

As we mention $XDG_DATA_DIRS in our alert, we should not do the alert
when the user follows its recommendation. This is now checked.

And handle systemd services if they are used.
2014-03-10 00:09:13 -03:00
Gustavo Sverzut Barbieri c52da37d0b link dbus and systemd services, allows systemd activation.
If the dbus service contains SystemdService entry and the dbus-daemon
is started with --systemd-activation, then requests for services on
the user session bus will be handled by systemd, creating cgroups and
being handled as native systemd services of Type=dbus.
2014-03-10 00:09:12 -03:00
Ryuan Choi c2bdda6f9b Fix build break because of evas_object_line_class_get
Added edje into internal dependencies for ethumb_client.

I got below error.
/usr/elocal/lib/libedje.so.1: undefined reference to `evas_object_line_class_get'
collect2: error: ld returned 1 exit status
make[4]: *** [bin/ethumb_client/ethumbd] Error 1
make[4]: *** Waiting for unfinished jobs....
2014-03-09 09:14:45 +09:00
Chris Michael 83dce935f5 efl: Fix build with drm disabled
@bugfix: Drm is optional, so ecore-evas should not internally depend
on it unless ecore-drm is found.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-06 12:36:53 +00:00
Chris Michael e2357578d3 ecore-drm: Add configure.ac autofoo for ecore-drm
@feature: This adds necessary dependencies for ecore_drm library to
build.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-06 10:57:26 +00:00
Joel Klinghed 0f1883df9a efl: Use actual destination dirs in warning about using non-standard prefix
Summary:
Instead of relying on ${prefix}/share to be the default for ${datadir} or
${dbusservicedir} use the actual paths where the files will be placed.

Somewhat tricky because of autoconfs desire to keep prefix changeable but
continuously evaluating the variables until they don't change work.

Reviewers: raster, englebass

Reviewed By: raster

CC: cedric, stefan_schmidt

Differential Revision: https://phab.enlightenment.org/D581
2014-03-06 19:28:20 +09:00
Daniel Zaoui 49822ec28d Eolian: remove Ecore_File dependency 2014-03-03 18:14:14 +02:00
Tom Hacohen fabea6399c Eolian: Added an helper to call eolian_gen from within the project. 2014-03-03 14:09:54 +02:00
Tom Hacohen 5a4f68d472 Eolian: Added eolian to the build system. 2014-03-03 14:09:53 +02:00
Chris Michael 5267daa9ae evas-drm: Rename drm hardware acceleration option
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:11:42 +00:00
Chris Michael 0ebdaec9cd evas-drm: Fix configure.ac typo for drm hw accel argument
@bugfix: Fix typo in configure.ac file for drm hardware acceleration

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:09:14 +00:00
Chris Michael 437654c6b5 evas-drm: Add option to enable drm hardware acceleration
@feature: Start on drm hardware acceleration

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:08:57 +00:00
Snacker (Vladimir) 8e17290f19 @feature - Apply NEON intrisics improvement to rotation 2014-02-28 07:04:52 +09:00
Stefan Schmidt 3f1c866b50 configure: Bump version to 1.9.99 to indicate development cycle
1.9 is released and the master branch is now in development mode
again. Make sure the version indicates that.
2014-02-26 09:25:44 +01:00
Joel Klinghed 19e118cd8f ecore_avahi: Use result of pkg-config avahi-client when building
Summary: Fix avahi-client detection

Reviewers: cedric

Reviewed By: cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D580
2014-02-25 18:39:34 -03:00
Felipe Magno de Almeida f279225a63 eina: add a C++ bindings to Eina @feature.
The goal of this library is to make the life of C++ developers easier
when having to manipulate Eina datatype by providing a layer to abstract
those data type in C++. Check examples for now. Documentation will come
soon, but we are pushing that rather sooner to get feedback on those bindings.

As you will notice, this library is just composed of headers. There is no .so
and we do think it is better this way. Reducing ABI and API stability issue for
applications developers who are the primary target of this binding.

Also please note that you will need to have C++11 to use this binding.

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-02-25 18:05:01 -03:00
Stefan Schmidt 3ac51e3fee Release version 1.9.0 2014-02-24 17:20:02 +01:00
Sebastian Dransfeld 2b02809268 fix previous commit 768df672
Need /share added to path as well.
2014-02-24 12:50:40 +01:00
Sebastian Dransfeld 768df67275 configure: add optional solution to alert
XDG_DATA_DIRS are searched by dbus. So if prefix is added before dbus is
started, it will find the services.
2014-02-24 12:47:09 +01:00
Stefan Schmidt ad1d45ef10 release: Bump version to 1.9.0-beta2
Second and most likely last beta release before the 1.9 final. Give
it a good testing over the weekend.
2014-02-21 15:03:55 +01:00
Cedric Bail 868202349a autotools: add supported for deprecated option. 2014-02-21 22:13:00 +09:00
Cedric BAIL 12a0cc8342 autotools: make specifying binary look the same as Elementary. 2014-02-21 17:55:47 +09:00
Cedric BAIL 5ea8c8cc4d autotools: detect cross compilation. 2014-02-20 20:23:24 +09:00
Carsten Haitzler 227f1f985f configure - add warning for non /usr prefixes! 2014-02-19 22:45:30 +09:00
Stefan Schmidt 4f2f71b3da release: Bump version to 1.9.0-beta1
Prepare tarballs for a first beta release.
2014-02-18 15:31:09 +01:00
Jean-Philippe Andre 18a7a95de3 Emotion: Add cmake definition files
Shameless copy & paste + sed from Evas stuff
2014-02-17 11:29:03 +09:00
Jean-Philippe Andre a9b82a7928 Doc: Add makefile for text filter previews
Build utility tool based on the local hidden .libs
2014-02-13 17:36:23 +09:00
Carsten Haitzler 967307ab35 distribution cleanup - remove os/arch from module dirs and simplify version
now that we don't load modules from user dirs anymore - just system,
we can nuke os/arch from module dir and just keep version. since abi
for a module should be stable for a 1.X release series, we dont need
micro, just 1.9 (or 1.10 etc.). this makes thnigs a bit cleaner and
simpler for emotion_generic_players
2014-02-12 15:56:56 +09:00
Carsten Haitzler 47dc6718d3 finish off long list of complaints for bad configure options 2014-02-12 13:07:30 +09:00
Carsten Haitzler 365b6d24d6 configure - add big complaint section if you use off configure options
also force whoever/whatever is compiling via another really long and
obscure option or otherwise fail configure if they do not
2014-02-12 10:27:34 +09:00
Mike Blumenkrantz aa07b08457 1.9.0 alpha1 2014-02-11 16:22:11 -05:00
Carsten Haitzler 88fde9ede2 Revert "configure - don't add -mfpu-neon on arm - this breaks building for armv6/4..."
This reverts commit c94252a14c.
2014-02-11 16:54:13 +09:00
Carsten Haitzler c94252a14c configure - don't add -mfpu-neon on arm - this breaks building for armv6/4... 2014-02-08 14:26:50 +09:00
Cedric BAIL b7b6b5f956 eina: restore magic debug option for ABI compatibility purpose.
We can't remove that option as it break ABI for people who did turn
it off in 1.7.

- cherry-pick me -
2014-02-05 11:10:29 +09:00
Mike Blumenkrantz 01a4b8bacb checking for libmount newer than 2.19.0 means newer, not older 2014-01-24 23:26:24 -05:00
Mike Blumenkrantz 48c2a3c890 allow --without-tests in addition to --with-tests=no 2014-01-24 23:26:24 -05:00
Ryuan Choi a9c0a6c30b configure: Add ecore-imf to ETHUMB_INTERNAL_LIBS
It is to fix possible build break of ethumb

I got below message.
lib/edje/.libs/libedje.so: undefined reference to `ecore_imf_context_retrieve_selection_callback_set'
collect2: error: ld returned 1 exit status
make[4]: *** [bin/ethumb/ethumb] Error 1
2014-01-24 20:17:06 +09:00
Mike Blumenkrantz 052fc85cd3 okay, bring back xrandr < 1.4 compat for ecore_x_randr_output_name_get
apparently I read the commit order wrong and this fix went in for 1.4.0, not 1.3.2, which means anyone who has 1.3.2 has been having lots of fun crashes for the past 24 hours
2014-01-21 16:07:38 -05:00
Mike Blumenkrantz 1feed7a1ae ecore_x_randr_output_name_get fixme removed
this was a fixme which was likely written sometime before July 2010 when the bug was fixed, just prior to the 1.3.1 release. I think it's probably okay to require that release since it's been 3+ years.
2014-01-20 22:16:18 -05:00
Gustavo Sverzut Barbieri f0aac1b490 configure: include required NEON build flags.
It is required to use "-mfpu=neon" to build NEON.

Patch-by: Albin Tonnerre <lutin@debian.org>
2014-01-20 12:15:56 -02:00
Daniel Kolesa 6db1691595 edje: use luajit by default, if you want lua use --enable-lua-old 2014-01-17 19:07:59 +00:00
Mike Blumenkrantz 131e0e1983 ecore-x now supports XPRESENT
see http://cgit.freedesktop.org/xorg/proto/presentproto/plain/presentproto.txt
2014-01-13 10:19:11 -05:00
Joel Klinghed b262d79e05 configure: correctly detect C99-capabilities for ecore_con_resolver
ac_cv_prog_cc_c99 being empty just means there is no need to add
any flags for the compiler to be C99-capable.
"no" means the compiler isn't C99-capable.

The check is actually unnecessary as EFL demands a C99-capable
compiler these days but if that every changes ...

Reviewers: zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D443

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-09 10:05:07 +09:00
Carsten Haitzler f28f756584 win build - check for pause func and use only if its there 2014-01-08 22:40:59 +09:00
Carsten Haitzler e8c13118eb fix mingw build for setuid fix/checks 2014-01-08 22:06:41 +09:00
Carsten Haitzler 77aa223e95 efl - build - add warning about gnutls to configure and dropping privs
stable release - cherry-pick me!
2014-01-07 16:28:46 +09:00
discomfitor d4b471a3a8 configure xcb warning typos 2013-12-29 19:43:39 -05:00
Carsten Haitzler 641b914c0a configure - add warning when enabling xcb 2013-12-30 09:29:40 +09:00
Carsten Haitzler a7f417e68d Revert "Quick and dirty fallback to gst 0.10 if 1.0 is not found"
This reverts commit 5676eb4ef9.
2013-12-24 23:45:30 +09:00
Iván Briano 5676eb4ef9 Quick and dirty fallback to gst 0.10 if 1.0 is not found 2013-12-23 14:00:14 -02:00
Sebastian Dröge 9c752106f7 emotion: initial port of emotion to GStreamer 1.0
Some commits to port emotion to GStreamer 1.0 and implement some missing features,
clean up code a bit and fix some bugs on the way.

This works as good as the 0.10 code for me now with the emotion examples,
just the Samsung hardware specific code is commented out. This should be
ported by someone who has such hardware, and also in a clean way now that
GStreamer since 1.0 has features to handle all this properly.

There's still a lot of potential to clean things up and fix many bugs, and also
to implement zerocopy rendering. But those are for later if there's actual
interest in this at all.

Commits:

- Update configure checks and ecore example to GStreamer 1.0
- Initial port of emotion to GStreamer 1.0
- Samsung specific code commented out, should be ported by someone
with the hardware.
- Return GST_FLOW_FLUSHING when the sink is unlocked
- Remove unused GSignal from the sink
- Use GstVideoInfo to store the format details inside the sink
- Add support for pixel-aspect-ratio
- Store video format information in GstVideoInfo for the different video streams
- Use GstAudioInfo to store the audio format information
- Remove some unused defines
- Header cleanup
- Implement initial support for GstNavigation interface
- Implement setting of audio/video channel

Reviewers: cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D387

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-12-23 10:59:42 +09:00
Mike Blumenkrantz 3c81c6ded3 fix non-avahi build
damn borkers!!!!
2013-12-20 10:24:13 -05:00
Cedric BAIL a6cc00369f autotools: Evil is actually needed on Windows add the correct line for Ecore_Avahi. 2013-12-19 11:52:37 +09:00
Cedric BAIL 0a1cc79a91 Ecore_Avahi: initial commit.
TODO:
- Add tests, how ?
- Integrate with Eo, needed ?
2013-12-17 19:37:05 +09:00
Cedric BAIL 87be907144 pkgbuild: follow aur efl-git version naming. 2013-12-12 11:05:13 +09:00
Cedric BAIL b1dde593cc autotools: detect systemd to warn user they are required to use --enable-systemd to turn it on. 2013-12-12 11:05:13 +09:00
Cedric BAIL 85772eb113 autotools: only turn on auto testing on linux. 2013-12-11 13:46:33 +09:00
Cedric BAIL 94b4e53b7f autotools: make systemd dependency detection automatic. 2013-12-11 11:39:09 +09:00
Cedric BAIL 770dc9a805 autotools: let's try this variant for detecting c++ compiler availability. 2013-12-11 10:40:13 +09:00
Cedric Bail 5f2687b1f4 autotools: try to figure out what our buildbot get here. 2013-12-10 11:30:43 +09:00
Cedric Bail 6f50fc9d63 autotools: work around buggy macro to force C++ compiler detection. 2013-12-09 21:36:41 +09:00
Stefan Schmidt 09609e9d04 configure: Switch back to dev profile in master branch.
This also enables v_rev again. Thanks to Doug for pointing it out.
2013-12-06 16:05:45 +01:00
Stefan Schmidt 749d5d7b50 configure: Bump version to 1.8.99 to indicate development cycle.
1.8.0 is out and we are in the dev cycle for 1.9 so indicate this with
the version 1.8.99 for builds from git master.
2013-12-05 11:14:03 +01:00
Carsten Haitzler cd60144d87 v1.8.0 2013-12-01 19:04:31 +09:00
Carsten Haitzler 16e5af8e4c release work - switch to release profile
this now maxes out max log level to 3 (same as dev otherwise)
2013-12-01 13:50:54 +09:00
Carsten Haitzler 95ffa9ca1e v1.8.0-beta2 2013-11-29 19:39:02 +09:00
Carsten Haitzler eb48d55f3a 1.8.0-beta1 2013-11-25 14:51:25 +09:00
Ryuan Choi f42f42a9a6 Add several missing Config.cmake.in
- EldbusConfig.cmake.in
- EthumbClientConfig.cmake.in
- EthumbConfig.cmake.in
2013-11-20 00:23:11 +09:00
Tom Hacohen 89ec93305e Tests: fix the print summary for tests with dev profile.
When the dev profile is enabled, tests are also enabled if
libcheck is found. Fix the print in the summary to reflect
that.
2013-11-19 13:12:58 +00:00
Tom Hacohen bf4a7e8c34 Revert "configure does not print tests option as a default"
This reverts commit d93c4b2307.

Auto is not an option, and does not mean it'll be automatically
detected.
What auto means is that unless explicitly enabled/disabled it'll check
according to the build profile and will enable it automatically if using
the dev profile.
2013-11-19 13:06:24 +00:00
Carsten Haitzler a4ec6ae8f1 1.8.0-alpha2 2013-11-19 17:21:58 +09:00
Ryuan Choi 8c0d7d8e5e Add EezeConfig.cmake.in
Other components already install XXXConfig.cmake and XXConfigVersion.cmake,
but Eeze was missing.
2013-11-16 15:18:55 +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
Jerome Pinot 2743382fa6 Add "--with-id" configure option that can be used to specify a
string identifying the build (vendor, maintainer, etc). It defines
EFL_BUILD_ID with default to "none". It can be used by applications
or for bug reports by including Efl_Config.h

Differential Revision: https://phab.enlightenment.org/D288
2013-11-04 22:12:12 +09:00
Ryuan Choi d93c4b2307 configure does not print tests option as a default
Reviewers: seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D62
2013-11-04 20:58:10 +09:00
Carsten Haitzler b07c0a76ce alpha1 release autofoo/build tree work to pass distcheck and actually work 2013-11-04 18:33:35 +09:00
Jérémy Zurcher 489e7d565a configure.ac: fix --with-api err msg 2013-10-31 09:25:06 +01:00
Cedric Bail f5d6d09d19 evil: let's try another combinaison of define. 2013-10-31 15:39:12 +09:00
Cedric Bail 88912c06a8 evil: add missing define specific to Windows build.
It is an optional flags that just shutdown useless warning at build time.
2013-10-31 14:39:21 +09:00
Albin Tonnerre 6b130d8b18 ecore_x/xlib/ecore_x_vsync.c uses dlopen and dlsym, but configure.ac
only checks for this for the XCB variant. This results in linker errors
when using strict linker flags (-Wl,-z,defs)
2013-10-29 23:37:03 +01:00
Jean-Philippe Andre b143727389 evas: Add configure option to disable cserve
Some people might want to disable cserve2 at build time to
generate smaller packages.
2013-10-14 10:55:47 +09:00
Rafael Antognolli c4f1e67686 ecore/wayland: Do not generate subsurface source files.
Add them to the tree, so they don't need to be generated again on each
build. Also remove the autofoo code used for generating them.
2013-10-11 14:26:34 -03:00
Cedric Bail 1b07350a46 eina: add Eina_Spinlock API. 2013-10-11 11:08:17 +09:00
Cedric Bail a230728162 eina: move header detection to the appropriate section. 2013-10-11 11:07:47 +09:00
U. Artie Eoff d201747cc8 ecore/wayland: detect wayland-scanner
We need the wayland-scanner program to auto-generate the
subsurface protocol source files from subsurface.xml

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-10-10 13:24:17 -03:00
Carsten Haitzler 82e1fef6ed configure - wayland macro required for any kind of autogen.sh... not good. 2013-10-10 13:24:05 -03:00
Rafael Antognolli f26f2da5ea adding wayland subsurfaces protocol file. 2013-10-10 13:21:40 -03:00
Carsten Haitzler 2c1c6b9335 ecore-con: make curl support entirely runtime loaded via eina_module
this makes curl support a pure runtime-only thing. libcurl is loaded by
eina_module (dlopen/dlsym) when curl is actually first needed (when a
url connection/object is created). this means that ecore-con has no
link or compile dependencies on curl, only runtime, AND this saves
memory (due to curl inits using apparently a chunk of private pages).
so this saves memory and moves the dependency to runtime (though still
consider libcurl a dependency of efl - but like a binary executed,
it's at runtime).
2013-10-10 22:31:18 +09:00
discomfitor 06a5ba2118 Revert "adding wayland subsurfaces protocol file."
This reverts commit ad27efcb39.
2013-10-05 16:22:15 +01:00
Carsten Haitzler 7b512356b3 configure - wayland macro required for any kind of autogen.sh... not good. 2013-10-05 18:31:39 +09:00
Rafael Antognolli ad27efcb39 adding wayland subsurfaces protocol file. 2013-10-04 18:23:57 -03:00
Cedric Bail fe25608edd eina: handle more compiler strangeness for bswap.
So current order is :
- __builtin_bswap*() for compiler that provide it
- _byteswap_*() for MSVC
- bswap_*() for older Linux and some BSD
- own C code when everything else fall appart.

The reason for this order is that the builtin will always generate
the best assembly possible. On my system bswap_*() are not changing
in all version to the best solution as they are almost equivalent to
the C macro.
2013-10-04 12:49:02 +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
Ryuan Choi d460f2954a configure: Add evas to ETHUMB_CLIENT_INTERNAL_LIBS
It is to fix possible build break of ethumb_client after b3749450
2013-09-26 13:04:37 +09:00
Cedric Bail 0082c1b4eb ecore: add infrastructure to get info from malloc_info to. 2013-08-27 16:52:00 +09:00
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
Gustavo Sverzut Barbieri 4e6ce9277f efl/evas: add ecore-evas dependent examples.
nice feature of single tree efl is that evas examples can use ecore-evas :-)



SVN revision: 81919
2012-12-31 01:40:50 +00:00
Gustavo Sverzut Barbieri 125d308f2c efl: unbreak last commit.
seems that automake will parse LDFLAGS for -module and if it's not
present it will complain about name not starting with 'lib'.

seems my last try was without NOCONFIGURE=1 and autogen continued to
the old ./configure, that printed lots of messages and the error went
unnoticed



SVN revision: 81917
2012-12-31 01:13:47 +00:00
Gustavo Sverzut Barbieri ec863dc17f efl: create macro to simplify libtool module declaration.
SVN revision: 81916
2012-12-31 00:54:48 +00:00