Commit Graph

599 Commits

Author SHA1 Message Date
Stefan Schmidt 52c48cfc21 ecore/drm: Add support for changed libinput API since 0.8
We check for libinput 06 or higher. In version 0.8 they got an API break
(hopefully the last one before 1.0) which we did not support so far. I have
seen libinput 0.9 used on gentoo and newer ubuntu systems so we should
definitely support them.

Adding a LIBINPUT_HIGHER_08 define to check for this. So far we have only one
location where we need it. Once there is a libinput 1.0 we should remove the
support for older versions.

http://lists.freedesktop.org/archives/wayland-devel/2015-January/019383.html
2015-02-12 18:06:12 +01:00
michelle legrand bbba9198db eolian: add right extension to eolian_gen if we are on Windows
In previous version of this commit we checked if the _WIN32 macro was
defined. But now I am using EXEEXT from autotools to get
eolian_gen extension.

@fix
2015-02-11 17:03:37 +01:00
Stefan Schmidt f9548fa7da configure: Switch to dev mode again. Merge window for 1.14 is open now. 2015-02-09 14:08:14 +01:00
Stefan Schmidt b5d48869bc release: Update NEWS and bump version for 1.13.0 release 2015-02-09 13:12:51 +01:00
Stefan Schmidt 56180ee758 release: Update NEWS and bump version for 1.13.0-beta3 release 2015-02-03 09:48:45 +01:00
Stefan Schmidt f9e4bacfc4 release: Update NEWS and bump version for 1.13.0-beta2 release 2015-01-26 12:50:54 +01:00
Stefan Schmidt 862e17140d release: Update NEWS and bump version for 1.13.0-beta1 release 2015-01-19 14:48:28 +01:00
Stefan Schmidt cc3f38c1f1 configure: Makre sure the tarballs are marked as alpha1 2015-01-12 13:30:20 +01:00
Stefan Schmidt afde6f178d release: Update NEWS and bump version for 1.13.0 release 2015-01-12 13:11:11 +01:00
Stefan Schmidt 446897bf3d configure: Fix typo in systemd-login check 2014-12-10 14:52:58 +01:00
Chris Michael a04e026752 ecore-drm: Add libinput dependency check
Summary: ecore-drm will now require libinput for handling input
devices, so this commit adds a configure check for libinput

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-09 09:58:27 -05:00
Seunghun Lee b10ab1a86f ecore-drm: added drm launcher that is allow to determine whether to launch with logind or root privilege.
Summary:
- allow to launch drm backend without systemd-logind with root privilege.
- allow to open drm device node via logind, not directly open it, in case exist systemd-logind.
- fixes issue that couldn't switch session, because ecore-drm couldn't drop master to drm device with no permission. (allow to switch session appropriate.)

Reviewers: gwanglim, devilhorns

Subscribers: torori, cedric

Differential Revision: https://phab.enlightenment.org/D1704
2014-12-09 09:36:42 -05:00
Daniel Kolesa 8e1bccde78 elua: add elua.pc to configure.ac and add cmake definitions for elua 2014-12-08 16:12:01 +00:00
Stefan Schmidt 2a03389190 configure: Add note about automake 1.14 problem
Maybe we can remove this once it is fixed and the fixed version it widely used.
2014-12-04 14:11:35 +01:00
Philippe Coval 3a9f724cbc build: support automake-1.14
Summary:
This was needed to install example on purposes

The problem is that the install_sh* variables
in generated makefiles are expanding to ~/install-sh
which is wrong and should be the one in root source tree

Change-Id: I5311298864a5f042de90071cb6dfaefbefdf001a
Bug: https://phab.enlightenment.org/T1889
Bug-Tizen: TC-2177
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>

Reviewers: seoz

Subscribers: stefan_schmidt, cedric

Maniphest Tasks: T1889

Differential Revision: https://phab.enlightenment.org/D1724
2014-12-04 13:54:56 +01:00
Jean Guyomarc'h 682d7fab54 autotools: fix compiling/linking gl engines on OSX.
Summary:
Until now, it was necessary to set global LDFLAGS and CFLAGS to allow
compiling (and linking) engines using OpenGL.
gl_generic used to complained about missing headers or unkown libraries.
A problem on OSX is that there is CGL (Apple's Core OpenGL) on which the whole system
relies on and GLX, when X11 is installed; and they cohabit together.
When gl_cocoa is enabled, gl_generic is now linked against CGL.
When it is not, gl_generic is compiled with and linked against GLX as a fallback.

@fix

Test Plan:
With --enable-cocoa: software_x11, opengl_x11 and opengl_cocoa are working as expected.
With --disable-cocoa: software_x11 and opengl_x11 are also working as expected.
No compiling nor linking problems have been issued.

Reviewers: cedric, raster, raoulh

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-12-03 09:58:02 +01:00
Daniel Kolesa 1884e4813a po: disable xgettext_wrapper for the time being (not really used and possibly won't be) 2014-11-11 15:07:03 +00:00
Stefan Schmidt a80b88c0ea elocation: Add example for using the elocation API
Basic example to show API usage.
2014-11-11 11:03:23 +01:00
Stefan Schmidt a2d2cdaf9f elocation: Add elocation libraray to EFL.
Elocation is meant as a convenience library to ease application developers
the usage of geo information in their apps. Adding a geo tag to a picture or
translating an address to a GPS position and show it on a map widget are just
some of the use cases.

In the beginning elocation will rely on the GeoClue1 DBus service. Supporting
the new GeoClue2 DBus service is planned and worked on. GeoClue offers
providers for various techniques to get hold off the current position. Ranging
from GeoIP over wifi and GSM cell location to GPS.

This has been developed a while ago and was living in my private dev space.
It is about time to move this into EFL and bring it forward.

The detection of the GeoClue service is being handled on runtime and no new
dependency is added due to this library.

@feature
2014-11-11 11:02:08 +01:00
Stefan Schmidt c2f130a2f7 build: Remove bzip2 tarballs from distcheck
When adding xz as third compression format in May 2014 I mentioned that I'm
going to remove bzip2 in favor of xz in 1.12.
I heard no complains but I left it in for 1.12. With 1.13 starting its time
to remove it. From now on it will be only gz and xz compressed tarballs.
2014-11-11 10:48:39 +01:00
Stefan Schmidt ee4d396227 configure: Switch to dev mode again. Merge window for 1.13 is open now. 2014-11-10 14:00:24 +01:00
Stefan Schmidt 3013a7c5cb release: Update NEWS and bump version for 1.12.0 release 2014-11-10 12:04:06 +01:00
Stefan Schmidt d022ca06d1 release: Update NEWS and bump version for 1.12.0-beta2 release 2014-11-03 12:36:24 +01:00
Stefan Schmidt fc54d85251 build: Print configure warning when trying --with-api=eo
Our code base simply do not work with the EO API alone right now. Leave the
option for testing but hide the knob to turn it on behind the beloved "I
know what I do" option.

Fixes T1558
2014-10-30 09:17:13 +01:00
Stefan Schmidt a0f97ca033 release: Update NEWS and bump version for 1.12.0-beta1 release 2014-10-27 12:32:01 +01:00
Jean Guyomarc'h 6de8e3104d eina_semaphore: OSX support
Summary:
OSX only support named semaphores. Eina_Semaphore was actually broken on OSX.
Since OSX 10.10 sem_init() and sem_destroy() (were not implemented) are also marked as
"deprecated", which adds huge pollution to the output when compiling.

Reviewers: cedric, raster, stefan_schmidt

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-10-27 09:11:23 +01:00
Stefan Schmidt 9edbc7e7bc release: Update NEWS and bump version for 1.12.0-alpha1 release 2014-10-21 16:39:30 +02:00
Srivardhan Hebbar 46d3d38e3c ecore_wayland: Added test case to check ecore_wl_init by passing socket name.
Summary:
Added a test case for ecore_wayland to test ecore_wl_init by passing the socket name. Wayland display is created and a socket is added to the display, then this socket is passed to ecore_wl_init to connect. It should successfully connect. Then
ecore_wl_shutdown is called to verify if it closes.

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

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1560
2014-10-21 08:34:46 -04:00
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