Commit Graph

444 Commits

Author SHA1 Message Date
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