Commit Graph

204 Commits

Author SHA1 Message Date
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
Gustavo Sverzut Barbieri df1b3d30c4 efl: refactor CFLAGS, LIBS, LIBADD and LDADD usage.
- remove EFL_LIBS and EFL_CFLAGS, use per-lib values that inherit
   from EFL (general)

 - add NAME_LDFLAGS and EFL_LDFLAGS for linker flags.

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



SVN revision: 81915
2012-12-31 00:46:14 +00:00
Gustavo Sverzut Barbieri 493f9a9ff9 efl: unify LDFLAGS for LTLIBRARIES
SVN revision: 81911
2012-12-30 22:15:29 +00:00
Gustavo Sverzut Barbieri cd3d6653af efl: move -lm to configure.ac variables.
EFL_ADD_LIBS() will add to requirements_libs_NAME and that will end
into NAME_LIBS.



SVN revision: 81910
2012-12-30 21:52:34 +00:00
Gustavo Sverzut Barbieri 458b70bbe6 efl: minor AC_CHECK_LIB() cleanup.
SVN revision: 81908
2012-12-30 19:05:18 +00:00
Gustavo Sverzut Barbieri 1453b3848b efl: EFL_CHECK_LIBS() is strict, simplify it then.
as we abort (AC_MSG_ERROR) if not found, simplify the code.



SVN revision: 81907
2012-12-30 18:55:56 +00:00
Gustavo Sverzut Barbieri ec75e20486 efl: add compiler flags
* -fvisibility=hidden will hide symbols not marked with EAPI in the
    final binary (so/executable).

 * -ffunction-sections and -fdata-sections will split those into
    independent elf sections, then we can -Wl,--gc-sections for those
    that are unused. During development --Wl,--print-gc-sections will
    warn us of functions that are left unused and were collected.



SVN revision: 81906
2012-12-30 18:37:59 +00:00
Gustavo Sverzut Barbieri 64fa645e80 efl: uniform compiler flags.
note: dns.c were already emitting warnings regarding shadow, so I
removed the flag to quiet override-init. It will a bit louder, but
then we remember it would be better to rewrite this dns in proper EFL.



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



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

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

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



SVN revision: 81903
2012-12-30 15:21:33 +00:00
Gustavo Sverzut Barbieri c60c72b60f efl: pic-only if platform supports.
in some cases libtool would build 2 versions, pic for shared and
no-pic for static. Make sure we just build one as pic is good enough.

NOTE: this is only used on supported platforms.



SVN revision: 81902
2012-12-30 13:32:47 +00:00
Gustavo Sverzut Barbieri 8ce53b64da efl: fix valgrind build.
weird enough to build with memcheck.h you just need valgrind's CFLAGS,
not its libraries as they are not supposed to be used like that,
throwing many bgPlain_ errors (vgPlain_tl_pre_clo_init,
vgPlain_free...) from libcoregrind-x86-linux.a



SVN revision: 81901
2012-12-30 13:30:13 +00:00
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