path: root/m4 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* evas/gl_drm: add native surface for wayland_egl_client.Mun, Gwan-gyeong2014-12-041-2/+2
| | | | | | | | | | Reviewers: zmike, devilhorns, cedric, gwanglim Reviewed By: cedric, gwanglim Subscribers: jpeg, torori, cedric Differential Revision: https://phab.enlightenment.org/D1507
* gl-drm: Fix missing link to gbm for ecore_evas_drm and clean up build scriptGwanglim Lee2014-08-281-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | @fix Summary: This fixes following build script problems for ecore_evas_drm engine module. 1. Missing link to gbm for ecore_evas_drm if '--enable-gl-drm' option is given. ecore_evas_drm engine is using gbm function if it builds with that config option. To be more exact, ecore_evas_gl_drm_new_internal function needs gbm. Thus we need to add gbm library linking '-lgbm' to ecore_evas_drm engine module if '--enable-gl-drm' option is given. I've added this build script to m4/ecore_check_module.m4 file. 2. Wrong gbm dependency check code in configure.ac EFL_OPTIONAL_INTERNAL_DEPEND_PKG m4 macro function is designed for checking dependency of efl internal libraries. Thus we should remove gbm pkg name when configuring ecore_evas_drm engine module. It would be better to move dependency check for gbm to m4/ecore_check_module.m4 file. And one more thing want_drm value has to be changed to want_gl_drm in ECORE_EVAS_MODULE([gl-drm]...). 3. BUILD_ECORE_EVAS_OPENGL_DRM macro is always defined in configure.ac. This kind of macro, BUILD_EFL_MODULE_NAME, has to be defined only if given module is enabled. But this macro value was just defined with no test. And it is even useless, we can use BUILD_ECORE_EVAS_GL_DRM macro which is defined by ECORE_EVAS_MODULE([gl-drm], [${want_gl_drm}],...) function. So I've removed that from configure.ac. Test Plan: 1. Configure with --enable-gl-drm: $ ./autogen.sh --enable-drm --enable-gl-drm 2. Build: $ make && make install 3. Check module.so of ecore_evas_drm engine whether it has a library dependency with gbm: $ readelf -a $EFL_GIT/src/modules/ecore_evas/engines/drm/.libs/module.so | grep NEEDED Reviewers: raster, stefan_schmidt, devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1379
* 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>
* eina: port Eina_Spinlock for OSXJean Guyomarc'h2014-08-211-0/+29
| | | | | | | | | | | | | Summary: Support of Spinlocks in Eina (Eina_Spinlock) for OSX, which does not implement them in pthread. @feature Reviewers: raster, raoulh, naguirre, cedric, stefan_schmidt Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1151 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas: add evas gl-drm engineMun, Gwan-gyeong2014-08-211-0/+39
| | | | | | | | | | | | | | | Summary: This is the first step to introduce a gl-drm backend. Test Plan: "ecore evas" create with ecore_evas_gl_drm_new(). It creates "ecore evas" with gl_drm evas backend. @feature Reviewers: raster, Hermet, cedric, devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1187 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* autotools: do not link with libGL if we have "wayland-egl" without "gl"Manuel Bachmann2014-08-191-0/+3
| | | | | | | | | | If we have "wayland-egl" and choose to use another engine than "gl" ("glesv2" with "--with-opengl=es" e.g.), then we are in a case where linking with libGL is not necessary. This is especially useful on a pure Wayland system. Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org> Signed-off-by: Chris Michael <cp.michael@samsung.com>
* evas-wayland-egl: Fix segmentation fault on dynamic loaded gl related functions.Mun Gwan-gyeong2014-08-151-0/+1
| | | | | | | | | | | | | | | Summary: @fix Segfault in wayland_egl engine is casused by illegal library linking. Fix this by linking to GLESv2 and EGL libraries. Test Plan: N/A Reviewers: devilhorns, raster, cedric, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1332
* eina-cxx: Added test for inheriting constructors in the C++11 compilerFelipe Magno de Almeida2014-08-071-0/+3
| | | | | | | | This adds the inheriting constructor feature test to the m4 macros to avoid compilation of the C++11 binding in constructors without this features, where they would unavoidably fail compilation. This eliminates GCC 4.7.x since inheriting constructors were available only from GCC 4.8 and forward.
* build/drm: Fix broken build from scratch and add missing library dependency ↵Gwanglim Lee2014-08-051-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for evas_drm engine Summary: This patch fixes following two problems: 1. libevas.so library has a dependency with ecore_drm if '--enable-drm' configure option is given. This problem is due to 'EFL_INTERNAL_DEPEND_PKG([EVAS], [ecore-drm])' in m4/evas_check_engine.m4 file. A dependency with ecore_drm should be moved to evas drm engine not libevas.so. And also this macro makes an error while installation of evas. $ make uninstall; ./configure --enable-drm; make && make install 2. missing ecore_drm dependency for evas drm engine. USE_ECORE_DRM_LIBS macro should be used for building evas drm engine with ecore_drm library. ECORE_DRM_LIBS macro doesn't have 'libecore_drm.la'. It is used for building ecore_drm library. @fix Fixes T1473 Test Plan: 1. Remove EFL libraries in installation path: $ make uninstall 2. Configure with --enable-drm: $ ./autogen.sh --enable-drm 3. $ make && make install 4. Check module.so of evas drm engine whether it has a library dependency with ecore_drm $ readelf -a $EFL_GIT/src/modules/evas/engines/drm/.libs/module.so | grep NEEDED $ readelf -a $INSTALL_PATH/lib/evas/modules/engines/drm/v-1.11/module.so | grep NEEDED Reviewers: stefan_schmidt, devilhorns, raster Subscribers: cedric, torori Differential Revision: https://phab.enlightenment.org/D1271
* build/drm: Fix missing ecore-drm for evas_drm engineMinJeong Kim2014-08-011-0/+2
| | | | | | | | | | | | | | | | | | | | Summary: With removing of pkgconfig checking on EVAS_CHECK_ENGINE for drm, evas_drm engine need to setup libs including internal ecore-drm. But, the evas_drm engine have missed ecore-drm libs because it have been done after finishing setup library of evas. This revision moves setup dependendency for ecore-drm into proper place. Test Plan: 1. Build EFL with --enable-drm 2. ELM_ENGINE=drm E_WL_FORCE=wayland_shm enlightement_start Reviewers: gwanglim, devilhorns, stefan_schmidt Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1249
* evas: move to SDL2 and use GL_Generic infrastructure.Cedric BAIL2014-07-251-2/+2
* 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.
* build/drm: Allow building from scratch by not using pkgconfig for internal libsStefan Schmidt2014-07-181-10/+2
| | | | | | | | | | | Using pkgconfig for internal libs turns out to be not a really good idea. It works fine if you already have an efl install with the needed ecore-drm.pc file but it will fail if you build from scratch. We already have a m4 macro for these internal dependencies. Make use of it for the evas drm engine depending on ecore-drm. Fixes T1432
* m4/evas_check_engine: Link evas drm engine to ecore-drm instead libdrmStefan Schmidt2014-07-161-3/+3
| | | | | We now longer use libdrm directly in the evas drm engine thus we switch linking to ecore-drm.
* efl: remove Windows CE supportVincent Torri2014-07-131-5/+1
* Evas: Add DDS image file loaderJean-Philippe Andre2014-07-031-0/+16
| | | | @feature: Add a Micrsoft DirectDraw Surface file loader
* ecore_cocoa: Add missing opengl frameworkRaoul Hecky2014-06-181-1/+1
* m4: fix macro, Makevars.in: quotesDaniel Kolesa2014-06-161-2/+2
* m4: EFL_WITH_BIN_SUFFIX, make use of it in configure.acDaniel Kolesa2014-06-121-6/+9
* autotools: add our own macro that disable anything not really C++11.Cedric Bail2014-05-041-0/+133
* 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>
* evas: add a tgv loader.Cedric BAIL2014-04-011-0/+16
| | | | | | | The TGV file format is specifically created for Evas. It is designed to allow region decompression and parallele decompression with a fast path for GPU that do handle ETC1 compression. Plan for adding other compression method will come later.
* link dbus and systemd services, allows systemd activation.Gustavo Sverzut Barbieri2014-03-101-0/+14
| | | | | | | If the dbus service contains SystemdService entry and the dbus-daemon is started with --systemd-activation, then requests for services on the user session bus will be handled by systemd, creating cgroups and being handled as native systemd services of Type=dbus.
* evas-drm: Fix requirements when building for drm hw accelChris Michael2014-03-061-1/+1
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Evas: Fix build issue when building without drmChris Michael2014-02-281-5/+6
| | | | | | | | | | | | @bugfix: Fix issue of building efl without drm or drm hw accel options By default drm & drm hw acceleration is off as an option. This caused a problem when passing no options to autogen due to a missing define. This commit fixes that mess by only defining HAVE_DRM_HW_ACCEL If we actually have the deps for it, rather than using an AM_CONDITIONAL as it did previously. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* evas-drm: Add support for checking what GL library to use for drm hardware ↵Chris Michael2014-02-281-2/+10
| | | | | | acceleration Signed-off-by: Chris Michael <cp.michael@samsung.com>
* evas-drm: Fix up some m4 formattingChris Michael2014-02-281-2/+3
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* evas-drm: Check for drm hw accel support in the drm engineChris Michael2014-02-281-0/+15
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* eina: add a C++ bindings to Eina @feature.Felipe Magno de Almeida2014-02-251-0/+133
| | | | | | | | | | | | | | | The goal of this library is to make the life of C++ developers easier when having to manipulate Eina datatype by providing a layer to abstract those data type in C++. Check examples for now. Documentation will come soon, but we are pushing that rather sooner to get feedback on those bindings. As you will notice, this library is just composed of headers. There is no .so and we do think it is better this way. Reducing ABI and API stability issue for applications developers who are the primary target of this binding. Also please note that you will need to have C++11 to use this binding. Signed-off-by: Cedric Bail <cedric.bail@free.fr>
* autotools: add supported for deprecated option.Cedric Bail2014-02-211-5/+11
* autotools: make specifying binary look the same as Elementary.Cedric BAIL2014-02-211-2/+2
* Revert "autotools: try improving thread detection."Cedric BAIL2014-02-193-358/+21
| | | | | | | | | 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-183-21/+358
| | | | | | | | | 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.
* evas: reverted 9d9ea2eDaniel Kolesa2014-02-121-1/+1
* Fix typo in wayland_egl engine test macroChris Michael2014-02-111-1/+1
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
* autotools: use libevil libdl implementation.Vincent Torri2014-02-071-3/+3
| | | | Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
* autotools: let's not override what we just did.Cedric BAIL2014-01-241-1/+1
* edje: use luajit by default, if you want lua use --enable-lua-oldDaniel Kolesa2014-01-171-2/+3
* emotion: initial port of emotion to GStreamer 1.0Sebastian Dröge2013-12-231-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some commits to port emotion to GStreamer 1.0 and implement some missing features, clean up code a bit and fix some bugs on the way. This works as good as the 0.10 code for me now with the emotion examples, just the Samsung hardware specific code is commented out. This should be ported by someone who has such hardware, and also in a clean way now that GStreamer since 1.0 has features to handle all this properly. There's still a lot of potential to clean things up and fix many bugs, and also to implement zerocopy rendering. But those are for later if there's actual interest in this at all. Commits: - Update configure checks and ecore example to GStreamer 1.0 - Initial port of emotion to GStreamer 1.0 - Samsung specific code commented out, should be ported by someone with the hardware. - Return GST_FLOW_FLUSHING when the sink is unlocked - Remove unused GSignal from the sink - Use GstVideoInfo to store the format details inside the sink - Add support for pixel-aspect-ratio - Store video format information in GstVideoInfo for the different video streams - Use GstAudioInfo to store the audio format information - Remove some unused defines - Header cleanup - Implement initial support for GstNavigation interface - Implement setting of audio/video channel Reviewers: cedric CC: cedric Differential Revision: https://phab.enlightenment.org/D387 Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
* 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
* m4: remove saving of CFLAGSSebastian Dransfeld2013-11-151-4/+0
| | | | Since we don't modify cflags, no need to save them.
* m4: Save cflags before restoring themSebastian Dransfeld2013-11-141-0/+2
| | | | | If we do CFLAGS=${SAVE_CFLAGS}, it is important to do SAVE_CFLAGS=${CFLAGS} first...
* efl: let's try to force that thread things this way.Cedric Bail2013-11-121-4/+1
* efl: let's try to detect in a portable way phtread around the world.Cedric Bail2013-11-121-32/+24
| | | | | | | Linking to Pthread seems to be highly not portable. Look at lock.m4 macro if you want to understand the hell it is ! By following it closely we should now have better portability than the 1.7.x release. And of course than our alpha...
* eina: detect page size in a portable way.Cedric BAIL2013-11-101-0/+14
* Require wayland libraries of at least 1.3.0Chris Michael2013-11-041-2/+2
| | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>