Commit Graph

186 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri b316f6a1a9 efl/libtool: disable-fast-install by default.
From Autobook: http://www.sourceware.org/autobook/autobook/autobook_85.html

   libtool will build executables suitable for copying into their
   respective installation destinations, obviating the need for
   relinking them on those hosts which would have required
   it. Whenever libtool links an executable which uses shared
   libraries, it also creates a wrapper script which ensures that the
   environment is correct for loading the correct libraries, See
   section 10.5 Executing Uninstalled Binaries. On those hosts which
   require it, the wrapper script will also relink the executable in
   the build tree if you attempt to run it from there before
   installation.

   Sometimes this behaviour is not what you want, particularly if you
   are developing the package and not installing between test
   compilations. By passing `--disable-fast-install', the default
   behaviour is reversed; executables will be built so that they can
   be run from the build tree without relinking, but during
   installation they may be relinked.

The user may still override this default, depending on platform
support, by specifying --enable-fast-install to configure.

NOTE: In my measurements it made no difference in install time either.



SVN revision: 81900
2012-12-30 12:29:39 +00:00
Gustavo Sverzut Barbieri 33791572fc efl/libtool: disable-static by default.
Most systems will never ever need the static builds of EFL, and it
doubles the compilation time (4m36s x 2m48s on my laptop). Then
disable it by default.

The user may still override this default by specifying --enable-static
to configure.



SVN revision: 81898
2012-12-30 12:12:32 +00:00
Gustavo Sverzut Barbieri 4bc0210bd3 efl: merge efreet.
seems to be fine, pass distcheck and friends. please report.

changes:
 - documentation hierarchy fixes
 - replaced __UNUSED__ with EINA_UNUSED
 - replaced PKG_DATA_DIR with PACKAGE_DATA_DIR"/efreet"



SVN revision: 81889
2012-12-29 23:04:40 +00:00
Lucas De Marchi 727ddbeaf0 efl: tell compiler to not yell about missing field initializers
SVN revision: 81884
2012-12-29 16:55:34 +00:00
Carsten Haitzler 343d0c8f8b more pc breakings. fix.
SVN revision: 81882
2012-12-29 16:43:07 +00:00
Carsten Haitzler 3d1eb4104d fie fi fo fum... someone's been breaking the pc files there mon...
:)



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



SVN revision: 81878
2012-12-29 16:03:28 +00:00
Gustavo Sverzut Barbieri 331488d1ce efl: merge edbus (v2).
SVN revision: 81825
2012-12-28 17:53:25 +00:00
Gustavo Sverzut Barbieri 7969b4a90b efl/configure.ac: tweaks to ecore_audio.
- moved up, closer to wayland, so it's before ecore_evas (which is
   large and still messy)

 - pulseaudio and sndfile checks are strict

 - pulseaudio is enabled by default

 - sndfile is mandatory



SVN revision: 81812
2012-12-28 15:24:09 +00:00
Gustavo Sverzut Barbieri 301ffc8927 efl/configure.ac: s/want_pass_through/want_default_mempool/g
what the hell pass_through has to do with enabling a default mempool I
have no idea, so make it closer to the config.h variable name.



SVN revision: 81802
2012-12-28 14:20:26 +00:00
Cedric BAIL 0d86917bbe efl: when you remove option at least make the default sane or don't do it.
SVN revision: 81731
2012-12-27 06:46:29 +00:00
Gustavo Sverzut Barbieri 50edeae035 efl/configure: add --with-tests=regular|coverage|none
also make 'check' mandatory if enabled.



SVN revision: 81491
2012-12-20 21:43:53 +00:00
Gustavo Sverzut Barbieri ac598a94f8 efl/escape: simplify linkage/usage of escape on ps3.
SVN revision: 81478
2012-12-20 19:41:00 +00:00
Gustavo Sverzut Barbieri b57e46b9b9 efl: simplify linkage/usage of evil on windows.
instead of spreading it all around, just define 2 AC_SUBST() that will
do the work.



SVN revision: 81477
2012-12-20 19:25:51 +00:00
Gustavo Sverzut Barbieri 5149aa925f efl/struct dirent: remove check as nobody use the results.
SVN revision: 81476
2012-12-20 19:02:42 +00:00
Gustavo Sverzut Barbieri b401a0225c efl/evas: fix sizeof detection of eina_unicode
SVN revision: 81475
2012-12-20 18:54:51 +00:00
Tom Hacohen 5d260c405a Efl: Fix FriBidiChar size detection.
It's better than nothing, I don't know what the proper fix is.
FRIBIDI_CFLAGS just doesn't exist. Doesn't that macro we use call
PKG_CHECK_MODULES?

SVN revision: 81385
2012-12-19 16:47:57 +00:00
Daniel Willmann bd22aeb35d efl: Make sure that ecore_audio tests are run if audio is enabled
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 81005
2012-12-15 00:13:51 +00:00
Daniel Willmann 29931c273f efl: Add build system support for ecore_audio
Disabled by default, enable with --enable-audio
ALSA support is disabled as it is not there yet. Pulseaudio should work
though.

Support for .ogg and .wav is there as well (.mp3 is not)

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

SVN revision: 81000
2012-12-14 23:38:25 +00:00
Gustavo Sverzut Barbieri 456f41870f efl: allow enabling wayland_egl
Seems the code is broken but people need this option to enable it and fix.





SVN revision: 80625
2012-12-10 22:38:09 +00:00
Carsten Haitzler 521ea3f0f5 xi2.2 is off by default UNLESS you --enable it... separated from xi2
which si very common and older - alwayson by default. 2.2 is an
extension of 2.0 which adds new library functions, defines etc.



SVN revision: 80575
2012-12-10 07:58:41 +00:00
Rui Seabra 0a44f77166 Missing output declaration for ecore_x_version.h
SVN revision: 80544
2012-12-09 10:42:39 +00:00
Gustavo Sverzut Barbieri 66f9c7f5b5 efl: simplify platform specific checks
SVN revision: 80527
2012-12-08 16:12:08 +00:00
Gustavo Sverzut Barbieri a2b5eaeb98 efl/ecore_x: split xinput2 from gestures.
seems xinput2 is just to get the events, thus much more common, while
gestures is getting them from server (not as common).



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

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



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



SVN revision: 80522
2012-12-08 14:43:19 +00:00
Carsten Haitzler d5c3d7a042 lets not break everything that depends on efl shall we when messing
around with its build? :(



SVN revision: 80507
2012-12-08 03:42:13 +00:00
Gustavo Sverzut Barbieri 337f679b64 efl: more minor simplifications and cleanups.
it's impressive, the more you clean, the more you find stuff that
could be simpler or just not exist.



SVN revision: 80506
2012-12-07 23:37:01 +00:00
Gustavo Sverzut Barbieri c6e0c95883 efl: almost final ecore/evas/ecore-evas options integration.
Many changes in this commit, but overall it should work. If not let me
know.

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

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

 * EVAS_CHECK_ENGINE() will not declare an option anymore.

 * fixed --with-x11 and --with-opengl regarding defaults.

 * fixed typo in EVAS_STATIC_BUILD_SOFTWARE_X11 -> XLIB conditional

 * simplified Xi2 and Xgestures support under --enable-gesture. Let me
   know if these should be checked separately.

 * remove every other X extension option, they are all forced by
   now. If no major showstopper appears with this we may remove all
   the #ifdef in the code!

If there is something broken, let me know.

Next on the list for the weekend is to finish the option checks for
SDL, Wayland-EGL, Cocoa and similar.



SVN revision: 80505
2012-12-07 23:16:43 +00:00
Gustavo Sverzut Barbieri ddba28a921 efl: share more of x11/xlib/xcb in ecore, ecore-evas and evas.
SVN revision: 80499
2012-12-07 20:23:45 +00:00
Gustavo Sverzut Barbieri 4df5715e0e efl: fix typos in help strings
SVN revision: 80495
2012-12-07 19:35:33 +00:00
Gustavo Sverzut Barbieri 9e9b5c2205 efl: remove ecore_x_backend to use with_x11
SVN revision: 80494
2012-12-07 19:31:02 +00:00
Gustavo Sverzut Barbieri 379c8bc208 efl: simplify wayland cases (still need doing egl)
SVN revision: 80493
2012-12-07 19:26:13 +00:00
Gustavo Sverzut Barbieri e197a0453d efl: fix sdl check and simplify jpeg saver check for windows
SVN revision: 80492
2012-12-07 19:16:03 +00:00
Gustavo Sverzut Barbieri 64a9af8fe8 efl: check for sdl if it's required.
SVN revision: 80489
2012-12-07 19:11:22 +00:00
Gustavo Sverzut Barbieri 64942f97af efl: simplifications for fb and sdl
SVN revision: 80488
2012-12-07 19:07:42 +00:00
Gustavo Sverzut Barbieri af221f3d6d efl: pixman should be off by default.
SVN revision: 80483
2012-12-07 18:26:26 +00:00
Gustavo Sverzut Barbieri aaf18a71a4 efl: baby steps to get sharing of options between evas and ecore-evas.
SVN revision: 80482
2012-12-07 18:24:49 +00:00
Gustavo Sverzut Barbieri 892c64297e efl: begin (still partial!) to make an uniform choice of engines ecore/evas
still lots to do, but some improvements:

 - ecore_evas does not inherit pkg-config from modules since modules are SO

 - renamed internal ecore evas define from SOFTWARE_BUFFER to BUFFER,
   to make consistent.



SVN revision: 80473
2012-12-07 17:18:17 +00:00
Gustavo Sverzut Barbieri 1268cd9208 efl: introduce --with-x11, --with-opengl and --enable-wayland
* --with-x11 takes one of:
   * xlib: use standard Xlib (used if not windows or ps3)
   * xcb: use new xcb library
   * none: do not build x11 (used if windows or ps3)

 * --with-opengl takes one of:
   * full: complete OpenGL support (used if not windows or ps3, ???)
   * es: reduced version (OpenGL-ES)
   * none: do not build OpenGL (used if windows or ps3, ???)

 * --enable-wayland: disabled by default

These are not used as they should yet, will take more work in the
engines to make it happen.



SVN revision: 80467
2012-12-07 15:14:33 +00:00
Gustavo Sverzut Barbieri 3e5811acf9 efl: remove --enable-simple-x11 for now.
may come back to it if openembedded or related complains.



SVN revision: 80466
2012-12-07 14:42:20 +00:00
Gustavo Sverzut Barbieri 63206904f5 efl: software generic is always static.
remove the option and logic, but still leave the framework in there if
some day a rare case of engine that does not rely on software generic
shows.



SVN revision: 80464
2012-12-07 14:23:32 +00:00
Gustavo Sverzut Barbieri 7d41d6ace2 efl: valgrind is also in evas
SVN revision: 80463
2012-12-07 14:17:09 +00:00
Gustavo Sverzut Barbieri e674ea6706 efl: simplify valgrind handling
SVN revision: 80460
2012-12-07 14:10:55 +00:00
Gustavo Sverzut Barbieri 2e60c65790 efl: simplify platform extra libs.
SVN revision: 80459
2012-12-07 14:04:54 +00:00
Gustavo Sverzut Barbieri e8c9be5a1e efl: simplified platform handling.
platform_pc defines requirements for every platform, each can be
addressed individually by platform_pc_evil, platform_pc_escape or
platform_pc_exotic.



SVN revision: 80454
2012-12-07 13:51:46 +00:00
Sebastian Dransfeld 5130ed35c7 efl: fix internal usage of pkg-config
Still was some checks in ecore to find efl stuff with pkg-config. Use
directly values from evas checks.

SVN revision: 80446
2012-12-07 13:14:35 +00:00
Carsten Haitzler e3d5ac0cb7 harfbuzz is too rare to make it a --disable - so no.
SVN revision: 80403
2012-12-06 23:36:40 +00:00
Gustavo Sverzut Barbieri 4476601805 efl: m4 is a macro-expansion language, use that.
instead of replicating common patterns all around, let's use the
common patterns as m4 macros.

EFL_DEPEND_PKG() will use pkg-config and add the dependency.

EFL_OPTIONAL_DEPEND_PKG() will use the former, but also defines
have_XYZ and does the if statement for you.



SVN revision: 80402
2012-12-06 23:19:35 +00:00
Gustavo Sverzut Barbieri 2ea000fd1c efl: add EFL_PKG_CHECK_STRICT() and use it.
PKG_CHECK_EXISTS() does not abort upon failure, our rule. So add this
and avoid replicating code like crazy.



SVN revision: 80396
2012-12-06 22:09:47 +00:00