Commit Graph

571 Commits

Author SHA1 Message Date
Stefan Schmidt 012dedae89 build: Change cxx-bindings option to reflect its changed default state
In f9e862e52e the cxx-bindings have been
changed to enabled by default again but the help text and option name
was not changed back.
2014-10-07 08:50:45 +02:00
Chris Michael 5eac1ebf28 eeze: Add configure check for older libudev version
Summary: This adds a check in configure to test the libudev version >
199. Older versions of udev do not provide
udev_device_set_sysattr_value function and thus compile of efl would
break with older versions.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-30 08:37:41 -04:00
Felipe Magno de Almeida f9e862e52e [cxx] Reenable C++ by default as all outstanding fixes are applied
The C++ binding was disabled because of changes in Eolian. Since we're
already applied fixes on the C++ binding for the changes in the Eolian
API the C++ binding is to be enabled by-default.
2014-09-29 18:00:15 -03:00
Chris Michael 29958c519f ecore-drm: Remove dependency on libudev for ecore-drm
@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-23 15:31:12 -04:00
Chris Michael 043fab5a4c ecore-drm: Add Eeze as a dependency for Ecore_Drm
@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-23 15:31:12 -04:00
Chris Michael a0b54c0c43 ecore-drm: Move Eeze above Ecore_Drm
Summary: Ecore_Drm is going to be using Eeze for udev functionality,
so we need to check for Eeze deps before Ecore_Drm

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-23 15:31:12 -04:00
Chris Michael 31510b6506 ecore-drm: Add Eldbus as a dependency for ecore-drm
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-22 14:18:53 -04:00
Chris Michael ddab220859 ecore-drm: Remove direct dbus dependency from Ecore_Drm
Sumary: Ecore_Drm will be using Eldbus library now, so remove dbus-1
dependency

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-22 14:18:53 -04:00
Chris Michael f51b219762 efl: Move Eldbus above Ecore_Drm
Sumary: Ecore_Drm will use Eldbus library for dbus functionality, so
we need to check for Eldbus first before Ecore_Drm

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-22 14:18:53 -04:00
Tom Hacohen c51dbe3a2c Add missing cmake config for efl libs. 2014-09-22 16:08:37 +01:00
Ryuan Choi 329c07452a configure: Fix the possible build break after 715da43d3
Added eet into internal dependencies for ethumb_client

I got below errors for ethumb_client

CCLD     bin/ethumb_client/ethumbd
lib/edje/.libs/libedje.so: undefined reference to `ecore_imf_context_input_hint_set'
lib/edje/.libs/libedje.so: undefined reference to `ecore_imf_context_input_hint_get'
collect2: error: ld returned 1 exit status
2014-09-16 07:00:56 +09:00
Savio Sena e60d1ea186 autotools: Add efl-cxx.pc.in. 2014-09-12 15:28:11 -03:00
Jean Guyomarc'h 75fd5850f3 autotools: abstract sockets are supported by Darwin
Reviewers: raster, raoulh, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1416
2014-09-08 10:55:50 +02:00
Jean Guyomarc'h 87487b2559 autotools: clean-up lua/luajit requirements
Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1380

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-09-04 17:09:05 +02:00
Cedric BAIL 10ac0f6eaf autotools: move to a little bit less deprecated gettext. 2014-09-02 10:03:04 +02:00
Daniel Kolesa 19a6c265b6 autotools: disable C++ bindings by default (use --enable-cxx-bindings to enable) 2014-08-29 10:32:46 +01:00
Gwanglim Lee 00382bb6a6 gl-drm: Fix missing link to gbm for ecore_evas_drm and clean up build script
@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
2014-08-28 13:37:28 -04:00
Cedric BAIL 49af128d5c autotools: actually put the macro at the right place. 2014-08-27 23:22:57 +02:00
Jean Guyomarc'h b50813f6e5 autotools: provide BSD-echo compatibility (fix c++ bindings)
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>
2014-08-27 22:31:20 +02:00
Cedric BAIL a334e8223a autotools: forgotten variable rename from tom introduction of libefl. 2014-08-25 15:25:58 +02:00
Chris Michael 50287ab731 ecore-wayland: Implement ivi-shell support for Ecore_Wayland
IVI-Shell is a wayland shell implementation for in-vehicle infotainment.

Summary: This is a set of patches proposed to implement IVI-Shell (https://phab.enlightenment.org/T1552).

Reviewers: ntanibata, devilhorns

Subscribers: mbachmann

Projects: #efl

Differential Revision: https://phab.enlightenment.org/D1350

@feature
2014-08-25 09:04:38 -04:00
Stefan Schmidt 3fe554e0b6 build: Allow to use external liblz4 instead of embedded copy
While we are likely will keep the embedded copy for a while to avoid a really
new dependency we allow now to use the external liblz4. You need at least
revision r120 and a package that ships the pc file for it.

Personally I would like to get rid of it rather sooner than later due to the
security implications and a bunch of code we ship but have no idea about.
Reality is that it will need some time until this new lib is actually
packaged and shipped with releases for a a majority of people.

This patch was co-worked with Doug Newgard <scimmia22@outlook.com>
2014-08-22 16:27:28 +02:00
Tom Hacohen de7f4cc22c Efl: Fix compilation in windows. 2014-08-22 10:44:09 +01:00
Daniel Kolesa 78acf69e20 eo, autotools: check for mmap feature rather than OS (mmap is POSIX) 2014-08-21 11:54:17 +01:00
Tom Hacohen 6e5a35e43e Ecore exe: Start using the control interface. 2014-08-21 11:02:11 +01:00
Tom Hacohen bf55348a92 Efl interfaces: Start using the text_properties interface. 2014-08-21 11:02:11 +01:00
Tom Hacohen b0b533fcb1 Efl: Create libefl.
Create libefl.so and the interal package for dependencies.
2014-08-21 11:02:10 +01:00
Jean Guyomarc'h f449f0ddb6 eina: port Eina_Spinlock for OSX
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>
2014-08-21 12:04:53 +02:00
Mun, Gwan-gyeong f5b8109397 evas: add evas gl-drm engine
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>
2014-08-21 12:04:53 +02:00
Stefan Schmidt 8d66bc51ff configure: Switch to dev mode again and set version to .99
Merge window for 1.12 is open.
2014-08-20 17:27:52 +02:00
Stefan Schmidt 153b9d396b release: Update NEWS and bump version for 1.11.0 release 2014-08-20 16:55:43 +02:00
Cedric BAIL 66966c8df1 Revert "efl: Fixed unwanted configure.ac warning."
This reverts commit bf8aba5f9f.

This warning is actually wanted. We do want to know when things get deprecated and
not discover that to late. This warning come from the use of gettext 0.17. Once we
move out of it, we will be fine. As a reminder and for keeping track of other
future deprecated macro, we should never use that flag !

Note: This is the second time I revert such a patch, I would really like people
stop disabling warning with this nasty work around.
2014-08-19 15:33:05 +02:00
Srivardhan Hebbar bf8aba5f9f efl: Fixed unwanted configure.ac warning.
Summary:
Below was the warning:
configure.ac:247: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:247: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:247: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.

@fix

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1341
2014-08-19 09:25:30 -04:00
Savio Sena 8d3d12282b autotools: Renamed --disable-c++11 to --disable-cxx-bindings.
The name was misleading.

Fix T1438
2014-08-13 10:17:53 -03:00
Cedric BAIL b91012f62c autotools: try to simplify our Makefile.am to reduce warnings. 2014-08-12 11:19:57 +02:00
Cedric BAIL d8dd0e1f62 autotools: use non deprecated macro.
I still don't know why there is still a warning.
2014-08-12 11:19:57 +02:00
Stefan Schmidt 9ad019e01b release: Update NEWS and bump version for 1.11.0-beta2 release 2014-08-11 12:22:20 +02:00
Daniel Kolesa e2cea5fc24 autotools: proper fix for generated Makevars and distcheck
Reverts 21da4a5454.

It is needed to generate Makevars in-tree even when building out-of-tree because of
how Autotools work. However, distcheck doesn't properly remove the Makevars file in
the generated distdir and makes po/ read only, preventing the build system from
generating an up-to-date version of Makevars. This commit adds the required hooks
needed to fix this behavior.
2014-08-11 10:59:13 +01:00
Daniel Kolesa 236cdce358 autotools: install .pc files to the correct directory on FreeBSD 2014-08-07 22:41:22 +01:00
Stefan Schmidt 21bb0531fb release: Update NEWS and bump version for 1.11.0-beta1 release 2014-08-04 19:24:35 +02:00
Stefan Schmidt 87311806c9 build: Bring coverage back to a working state
With commit 6030b9de79 the internal name EFL
name was changed to EFLALL but the needed CFLAGS and LDFLAGS for coverage
have not been adjusted. Thus it was simply no longer producing the gcda
files needed by lcov.

All back now and it shows an amazing jump in our coverage to:
Overall coverage rate:
  lines......: 31.6% (45827 of 144975 lines)
  functions..: 41.1% (5620 of 13684 functions)
2014-08-01 23:59:48 +02:00
MinJeong Kim 43c9e896a7 build/drm: Fix missing ecore-drm for evas_drm engine
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
2014-08-01 14:25:52 +02:00
Stefan Schmidt d788ee9e32 release: Update NEWS and bump version for 1.11.0-alpha1 release 2014-08-01 10:40:46 +02:00
Stefan Schmidt 21da4a5454 Revert "configure.ac: generate Makevars in the correct directory even with out-of-tree build"
This reverts commit dd37d2bc07.

This breaks make distcheck. Looking at this commit I really wonder if it does
anything good. It seems to work for po_makefile_in. It also breaks for
distcheck which is using out of tree builds in the _build folder.

If someone can explain me why something like this is needed for makevars I
want to hear it. getting a fix in that does not break distcheck would be fine
I guess.
2014-07-29 16:34:09 +02:00
Cedric BAIL 3c179cdb87 evas: move to SDL2 and use GL_Generic infrastructure. 2014-07-25 20:24:29 +02:00
Jean Guyomarc'h afad5b75d0 Fix Elua compiling on OSX
Reviewers: cedric, raster, raoulh, q66

Reviewed By: q66

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1231
2014-07-25 13:58:03 +01:00
Seunghun Lee a609a3be9d fix typo in configure.ac
Summary: N/A

Test Plan: N/A

Reviewers: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1221
2014-07-23 19:19:23 +09:00
Cedric BAIL 64dccac59c autotools: we actually do want portability warning.
This is to avoid people not using gnu stuff to report issue.
2014-07-22 12:20:03 +02:00
Tom Hacohen 6030b9de79 Configure.ac: Free up the "efl" name for usage.
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.
2014-07-21 16:53:14 +01:00
Stefan Schmidt 6d08b96bd3 build/drm: Allow building from scratch by not using pkgconfig for internal libs
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
2014-07-18 15:32:52 +02:00