Commit Graph

321 Commits

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