summaryrefslogtreecommitdiff
path: root/m4/efl.m4
Commit message (Collapse)AuthorAgeFilesLines
* m4: fix the name for ecore-sdl in the pkconfig files.Stefan Schmidt2016-09-091-0/+3
| | | | | | | Like some other libs we need to have a special handling here to get ecore-sdl into the pc file instead ecore_sdl. Fixes T4397
* ecore-drm2: Add start of Ecore_Drm2 libraryChris Michael2016-05-271-0/+3
| | | | | | | | | | This new library is going to replace the existing Ecore_Drm. This will refactor a lot of the code, bring improvements over the existing API, and provide additional support for missing features. @feature Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* Fix The name of the pc file for Ecore_Win32Vincent Torri2016-05-241-0/+3
| | | | | | | | | | Summary: With the current detection, ecore_win32.pc was used. Fix this to use ecore-win32.pc Test Plan: compilation Reviewers: cedric, jpeg, zmike Differential Revision: https://phab.enlightenment.org/D3980
* c++: Reorganized C++ binding generationFelipe Magno de Almeida2016-05-231-1/+1
| | | | | | Moved all generation to a single Makefile_Cxx.am file instead of throughout the whole project. And fixed C++ generation on Elementary after elm merge.
* autotools: track dependencies for partial sub build.Cedric BAIL2016-04-141-0/+27
|
* elementary: fix internal dependenciesJean Guyomarc'h2016-04-011-0/+3
| | | | Ecore_Cocoa was not handled properly.
* efl elm build: fix pc file requirements to be correctly namedCarsten Haitzler (Rasterman)2016-03-281-0/+9
| | | | | this fixes ecore_drm, ecore_fb and ecore_wl2 requirements to be right have a - instead of an _.
* elementary: fix generation of pkgconfigCedric Bail2016-03-251-0/+3
| | | | T3361
* elementary: initial compilation of the library only.Cedric BAIL2016-03-241-0/+6
|
* Build: Fix horribly slow compilation timesJean-Philippe ANDRE2015-03-251-1/+1
| | | | | | | | | | Cedric, our dear b0rker, introduced changes in the CFLAGS generation when merging Emile. While the changes seem to make sense at first sight (add the -I flags for the lib our new package depends on), they were actually a terribly bad workaround. The number of CFLAGS args would grow exponentially, slowing down libtool a lot, which is known to be slow when it has a lot of arguments.
* evas: use Emile to decode TGV.Cedric BAIL2015-03-171-1/+1
|
* autotools: actually put the macro at the right place.Cedric BAIL2014-08-271-0/+9
|
* autotools: provide BSD-echo compatibility (fix c++ bindings)Jean Guyomarc'h2014-08-271-11/+4
| | | | | | | | | | | | Summary: The '-e' option does not exist in BSD-echo, nevertheless it behaves by default like the "echo -e" of the GNU-echo. Reviewers: raster, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1376 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* Configure.ac: Free up the "efl" name for usage.Tom Hacohen2014-07-211-5/+5
| | | | | | | | | At the moment we use the fake "efl" library as a dependency for everything and use it as a way to have global cflags and lib deps. This is bad as we'd like to have a "real" libefl. I changed EFL to EFLALL as the new name. Easy to change to something else if anyone finds this name lacking. It's internal.
* eolian-cxx: fix make distcheck and automake files for Eolian C++Felipe Magno de Almeida2014-05-041-1/+1
| | | | | | | | | | | | | | | | | Summary: Fixed distcheck for Eolian C++. Made the generated files as nodist so it doesn't get picked up for generation way too early. Reviewers: cedric, seoz CC: cedric Maniphest Tasks: T1220 Differential Revision: https://phab.enlightenment.org/D820 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
* Revert "autotools: try improving thread detection."Cedric BAIL2014-02-191-1/+1
| | | | | | | | | This reverts commit 14c6378fc41906db14464e17aadc7d94a825fafd. So either we get to fix T880 or T986. I do think the problem is more tricky than that, so I am for the moment going to get T880 broken rather than T986 as I think the later will show up in more case for our user base. Will try to find a proper solution for everyone before the next release.
* autotools: try improving thread detection.Cedric BAIL2014-02-181-1/+1
| | | | | | | | | As already stated before reliably detecting CC, LIBS and CFLAGS parameters for use with threads is still a pain in 2014. With this patch I am trying to solve T880 and use ax_pthread.m4. Note that I do not trust this macro more than the previous one, so if there is any build issue on any system regarding thread, I may just rollback to the previous code. Still I hope it is an improvement and that our build system detect thread more reliably.
* autotools: let's not override what we just did.Cedric BAIL2014-01-241-1/+1
|
* configure: Switch back to dev profile in master branch.Stefan Schmidt2013-12-061-1/+1
| | | | This also enables v_rev again. Thanks to Doug for pointing it out.
* FUCK - remove logic to silently add -release names to libtool buildsCarsten Haitzler (Rasterman)2013-12-021-1/+1
| | | | | | | | sneaky hidden m4 rule to ADD -release to shared lib names IF profile != dev profile. come on! why do that? seriously. this snuck in and was undetected because i recompiled things against efl and thus things linked against the new releasename libs. this requires an efl 1.8.1. argh!
* efl.m4: change backslash sequences capability detectionJérémy Zurcher2013-11-191-3/+3
| | | | removes ./configure: line 14173: test: =: unary operator expected
* Fix build issues on Mac OS X due to sh differences.Jean Guyomarc'h2013-11-161-6/+13
| | | | | | | | | | | | Summary: * efl.m4: add support for xterm-256color and fix display for the bsd echo. Fix autotools issue (present on Ubuntu also, but better handled). * doc/Makefile.am: bsd echo may not handle -n option in sh Reviewers: cedric CC: cedric, seoz Differential Revision: https://phab.enlightenment.org/D329
* alpha1 release autofoo/build tree work to pass distcheck and actually workv1.8.0-alpha1Carsten Haitzler (Rasterman)2013-11-041-1/+2
|
* Remove unneded special cases after lib renameLucas De Marchi2013-05-041-9/+0
|
* Rename edbus->eldbusLucas De Marchi2013-04-231-5/+5
| | | | | | | | | | | | | | 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 {} \;
* Fix revision fetching when not using git.Tom Hacohen2013-03-011-1/+1
|
* Efl: Use git rev-list in order to get version instead of svnversion.Tom Hacohen2013-02-151-2/+1
|
* sorry - have to revert this as this brings the efl tree build to aCarsten Haitzler2013-01-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | grinding halt - it wasn't great before.. but now it's totally broken. :( e.g.: /bin/bash ../libtool --tag=CC --mode=link ccache gcc -std=gnu99 -O2 -g -pipe -march=native -fvisibility=hidden -ffast-math -W -Wall -Wextra -Wno-shadow -Wno-unused-but-set-parameter -o bin/eet/eet bin/eet/bin_eet_eet-eet_main.o -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries lib/eet/libeet.la libtool: link: ccache gcc -std=gnu99 -O2 -g -pipe -march=native -fvisibility=hidden -ffast-math -W -Wall -Wextra -Wno-shadow -Wno-unused-but-set-parameter -o bin/eet/.libs/eet bin/eet/bin_eet_eet-eet_main.o -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries lib/eet/.libs/libeet.so /usr/bin/ld: bin/eet/bin_eet_eet-eet_main.o: undefined reference to symbol 'eina_iterator_next' /usr/bin/ld: note: 'eina_iterator_next' is defined in DSO /usr/local/lib/libeina.so.1 so try adding it to the linker command line /usr/local/lib/libeina.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status SVN revision: 83112
* try to simplify internal library dependency.Gustavo Sverzut Barbieri2013-01-221-4/+4
| | | | | | | | | | | | | | | | | Just use the lib/name/libname.la as libtool should be responsible to emit dependencies to compiler when it evaluates. This should reduce over-linking, also reducing the compile lines in our verbose builds ;-) NOTE: this seems to work on Fedora 18 (which also bitch about DSO), so hopefully works on Debian and Ubuntu (and elsewhere). Please revert if breaks builds! SVN revision: 83105
* fix flags and libs ordering.Gustavo Sverzut Barbieri2013-01-181-3/+3
| | | | | | | | | | | linker (ld) is that kind of tool that argument order matters, if you -Wl,--as-needed, it will be worth just for libraries following it. Then we need to use EFL_LDFLAGS before everything else, otherwise it end being useless. SVN revision: 82991
* cosmetic: simplify and colorize features.Gustavo Sverzut Barbieri2013-01-181-0/+69
| | | | | | | | | | | | | | | 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
* efl: export vmin/vmic in edje.pcBoris Faure2013-01-181-0/+3
| | | | | | It is used to know where to install external modules. SVN revision: 82974
* clean some whitelines from already lengthly configure file.Gustavo Sverzut Barbieri2013-01-171-34/+28
| | | | SVN revision: 82951
* don't mix private and public libraries dependencies.Gustavo Sverzut Barbieri2013-01-171-2/+57
| | | | | | | | | | | | | | | 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
* efl: revert r82914 which was a revert of r82909.Cedric BAIL2013-01-171-8/+5
| | | | SVN revision: 82915
* efl: revert r82909 as it break build.Cedric BAIL2013-01-171-5/+8
| | | | | | | | Symptom are dependencies is full of -lm -lrt -lsomething that can't be found in the Makefile target. SVN revision: 82914
* fix internal library linkage to pull in dependencies.Gustavo Sverzut Barbieri2013-01-161-8/+5
| | | | | | | | | | | | | some libraries will need to pull more than its own .so, for example Eina.h includes eina_lock.h that includes eina_inline_lock_posix.x that will use pthread calls directly from user code. This was already listed in eina.pc, but not being present in USE_EINA_LIBS. SVN revision: 82909
* simplify efl version and initialization in a macro, fixes libtool version-info.Gustavo Sverzut Barbieri2013-01-161-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* move ecore_imf_evas out of ecore_imf.Gustavo Sverzut Barbieri2013-01-151-6/+0
| | | | SVN revision: 82837
* move ecore_input_evas out of ecore_input.Gustavo Sverzut Barbieri2013-01-151-6/+0
| | | | | | | | we don't need this mess anymore :-P SVN revision: 82836
* fix directory structure: move ethumd_client out of ethumb.Gustavo Sverzut Barbieri2013-01-151-4/+0
| | | | | | | | | it's another library, do not mix stuff as it used to be. SVN revision: 82835
* efl: simplify automake.Gustavo Sverzut Barbieri2013-01-141-27/+60
| | | | | | | | | | | | | | | | | | | | | | | | 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
* merge ethumb.Gustavo Sverzut Barbieri2013-01-121-1/+12
| | | | | | | | | | | | | | | | | | | | 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
* efl: merge eeze.Gustavo Sverzut Barbieri2013-01-031-0/+13
| | | | | | | | | | | | 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
* efl: refactor CFLAGS, LIBS, LIBADD and LDADD usage.Gustavo Sverzut Barbieri2012-12-311-2/+7
| | | | | | | | | | | | | | - 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
* efl/configure: simplify configure.acGustavo Sverzut Barbieri2012-12-301-0/+101
| | | | | | | | more macros to aid common tasks, make it easier to read. SVN revision: 81904
* efl/configure: simplify lib declaration.Gustavo Sverzut Barbieri2012-12-301-0/+68
| | | | | | | | | | | | | | | | | 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
* efl: m4 is a macro-expansion language, use that.Gustavo Sverzut Barbieri2012-12-061-0/+42
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