Commit Graph

700 Commits

Author SHA1 Message Date
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
Stefan Schmidt 58f47426a4 iconfigure: Only use libsystemd-login dep for ecore-drm
At least with systemd 208 there is no pc file for just libsystemd. It is split
into daemon id128 journal and login. We only need login here so only require it.
2014-07-15 17:01:14 +02:00
Chris Michael d486de9f62 ecore-drm: Remove eldbus dependency
Eldbus works asynchronously, but we need syncronous method calls to
get the replies from opening input devices, so let's just use normal
dbus

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:44:14 -04:00
Chris Michael c696b6af72 ecore-drm: Add eldbus, systemd, and systemd-login dependencies
Ecore_Drm will now require dbus, systemd, and systemd-login support in
order to open input devices as a normal user

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:42:01 -04:00
Vincent Torri 9631585f24 efl: remove Windows CE support 2014-07-13 15:17:17 +02:00
Cedric BAIL 79ea41b205 autotools: turn on build for gl_generic backend. 2014-07-11 15:32:51 +02:00
Jean-Philippe Andre 4a7ebc66be configure.ac: Fix typo in DDS loader definition
Eh, the power of copy and paste
2014-07-08 18:29:46 +09:00
Stefan Schmidt 443574a65d Revert "configure: Add dl to edje libs"
This reverts commit ff5a57aafd.

Edje is not using dlopen directly but luajit is. Seems some distros are missing
dlopen for there luajit package. Nothing we should workaround here.
2014-07-08 10:08:57 +02:00
Carsten Haitzler 0b8423c961 disable multisense when pulse is disabled too
also.. change "i know what i am doing" option string to "aba"... :)
keep people on their toes.
2014-07-08 15:43:06 +09:00
Carsten Haitzler 6aa3bc5824 efl build - fix multisense to actually be turned on again 2014-07-07 16:29:40 +09:00
bluezery 368058cdc7 configure.ac: Remove obsolete macros
Summary:
AC_HELP_STRING --> AS_HELP_STRING
AC_TRY_COMPILE --> AC_COMPILE_IFELSE + AC_LAGN_PROGRAM

those are deprecated for almost 10 years
autoupdate tool do this automatcally.

@fix

Reviewers: raster, cedric, stefan_schmidt

CC: cedric

Differential Revision: https://phab.enlightenment.org/D1088
2014-07-03 17:32:10 +09:00
Jean-Philippe Andre c424153867 Evas: Add DDS image file loader
@feature: Add a Micrsoft DirectDraw Surface file loader
2014-07-03 11:37:48 +09:00
Cedric BAIL c1aab3e51a autotools: remove forgotten BUILD_SAVER_JPEG 2014-06-20 10:43:12 +02:00
Cedric BAIL 301b672b3a evas: fix build of jpeg saver on Windows. 2014-06-20 09:47:06 +02:00
Daniel Kolesa 0d417e6ebf eolian: remove the ragel file plus support for ragel from the build system 2014-06-19 16:04:07 +01:00
Raoul Hecky 0c8954e6ec Add cocoa engine checks again 2014-06-18 11:34:07 +02:00
Benjamin Cohen edf621245e configure: fix net/if.h detection on osx (10.7) 2014-06-18 11:34:07 +02:00
Stefan Schmidt ff5a57aafd configure: Add dl to edje libs
DSO found by Aymeric and Pader Rezso on the E users list.

@fix
2014-06-16 11:20:09 +02:00
Daniel Kolesa 9a4deeafe2 m4: EFL_WITH_BIN_SUFFIX, make use of it in configure.ac 2014-06-12 15:20:18 +01:00
Daniel Kolesa be0062ab0f elua: use --with-elua instead of --with-elua-bin 2014-06-12 12:54:27 +01:00
q66 dd37d2bc07 configure.ac: generate Makevars in the correct directory even with out-of-tree build 2014-06-10 19:44:25 +01:00
Daniel Kolesa 60d8395de7 elua: examples fix, distcheck fix 2014-06-10 15:48:53 +01:00
Daniel Kolesa 30e5f11dc6 elua: generate Makevars from Makevars.in with a dynamic conditional... sadly there doesn't seem to be any other way... 2014-06-10 15:48:52 +01:00
Daniel Kolesa 91ba672609 elua: preparation for lua file generation 2014-06-10 15:48:52 +01:00
Daniel Kolesa 57ebf0e02c elua: initial code for xgettext.lua, a xgettext variant that supports lua
will be used to handle i18n for lua files in EFL (because only gettext 0.18.3+ supports Lua) and it'll be usable standalone too, it will also be able of handling more things than lua support in xgettext does (e.g. concatenated string literals will be considered one string)
2014-06-10 15:48:50 +01:00
Daniel Kolesa 76b445fb6d elua: i18n/l10n support including gettext module for user apps, bump gettext requirement to 0.18.3 (required for lua support in xgettext) 2014-06-10 15:48:49 +01:00
Daniel Kolesa 832f652a5a Elua: initial commit
Elua is a LuaJIT based runtime for the EFL meant to provide facilities for rapid application development. The name is temporary. The EFL bindings will be generated with Eolian. @feature
2014-06-10 15:48:46 +01:00
Alex-P. Natsios db95ecb84b autotools: fix more spelling errors in warnings
Summary: fontconfig & eo ID warning message fixes

Reviewers: raster, cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D964
2014-06-07 02:51:14 +02:00
Alex-P. Natsios 3ca3377dfb autotools: fix small typo in xim warning
Summary: suport -> support

Reviewers: raster, cedric

Reviewed By: cedric

CC: cedric, tasn

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

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-06 18:33:18 +02:00
Guillaume Friloux 3ed4f74590 Add --disable-gui.
This allows people to disable the building of anything GUI related.
In my case, it is used for servers.

I encourage anyone that think they can do a better patch to improve it,
as i dislike having to add all those AM_CONDITIONAL().

Maybe the macros should be improved.
2014-06-05 13:40:44 +02:00
ChunEon Park aede29e2d4 evas/blend - disable neon code.
Current neon code is a little buggy, the blend won't be done correctly.
so leave the c code depends on the compiler optimization.
2014-05-31 14:33:55 +09:00
Stefan Schmidt dbb91131d7 autotools: Add xz as additional tarball format
If this turns out well we will remove bz2 in 1.12
2014-05-27 11:15:35 +02:00
Stefan Schmidt 0f8d20bd31 release: Switch back to development mode
Open for 1.11 changes now.
2014-05-26 12:45:42 +02:00
Stefan Schmidt f3de0a0b54 release: v1.10.0 2014-05-26 12:29:36 +02:00
Savio Sena a4bb4688fc autotools: disable automake portability warnings.
Summary:
Vanish with these:
src/Makefile_Eolian_Helper.am:15: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am:36:   'src/Makefile_Eolian.am' included from here
src/Makefile_Eolian.am:42:   'src/Makefile_Eolian_Helper.am' included from here
src/Makefile_Eolian_Helper.am:18: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am:36:   'src/Makefile_Eolian.am' included from here
src/Makefile_Eolian.am:42:   'src/Makefile_Eolian_Helper.am' included from here
src/Makefile_Eolian_Helper.am:21: warning: '%'-style pattern rules are a GNU make extension

Reviewers: tasn, cedric

CC: JackDanielZ, smohanty, felipealmeida, raster, cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-24 02:24:04 +02:00
Shinwoo Kim 42e049fe86 Win32: Add configuration to cross-compile
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2014-05-20 15:16:43 +09:00
Stefan Schmidt d804844dab release: v1.10.0 beta3 2014-05-19 18:24:17 +02:00
Stefan Schmidt 966f72f680 release: v1.10.0 beta2 2014-05-12 16:49:02 +02:00
Felipe Magno de Almeida aad9a66182 eina-cxx: add EFL_PTHREAD_CFLAGS to EINA_CXX_CFLAGS and EFL_PTHREAD_LIBS and -lm to examples
Summary:
EFL_PTHREAD_CFLAGS are needed for tests and users that use
efl::eina::thread's and EFL_PTHREAD_LIBS to eina_cxx, eo and evas examples.

Reviewers: cedric, stefan, stefan_schmidt

CC: cedric, savio

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-09 13:03:05 +02:00
Cedric Bail 79c4baf1cc autotools: make it possible to forcibly disable neon. 2014-05-08 16:24:53 +02:00
Savio Sena 95f5c11703 eolian_cxx: fix install-examples and (post-install) compilation.
Summary:
This patch fixes T1226 by adding a Makefile.examples to
examples/eolian_cxx. It also fixes a bug in bin/eolian_cxx: the
include paths were not being correctly generated for directories
outside EFL tree.

Reviewers: cedric, smohanty, stefan_schmidt, stefan

CC: uartie, wayland-efl, felipealmeida, raster, woohyun, cedric

Maniphest Tasks: T1226

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-07 23:40:46 +02:00
Cedric Bail daddab4c52 autotools: make it possible to disable support for C++11. 2014-05-06 23:21:38 +02:00
Stefan Schmidt 2022aa3065 release: v1.10.0 beta1 2014-05-05 16:28:22 +02:00
Stefan Schmidt 435f9eaac3 configure: Print out eolian_cxx path in summary if set 2014-05-05 11:46:36 +02:00
Cedric Bail faf8f51ff6 autotools: add our own macro that disable anything not really C++11. 2014-05-04 13:55:37 +02:00
Cedric Bail 70a0ebeef2 autotools: fix typos for autodetecting C++11. 2014-05-04 13:24:30 +02:00
Felipe Magno de Almeida 8149823897 eolian-cxx: fix make distcheck and automake files for Eolian C++
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>
2014-05-04 12:21:30 +02:00
Savio Sena 46b6e8a563 eolian_cxx: initial version of the EFL C++ Bindings Generator.
Summary:
This patch adds 'eolian_cxx' -- a C++ bindings generator --
to the EFL tree. Eolian Cxx uses Eolian API to read .eo files and generate
.eo.hh. It relies/depends on Eo Cxx and Eina Cxx (both non-generated
bindings).

src/bin/eolian_cxx: The eolian_cxx program.
src/lib/eolian_cxx: A header-only library that implements the C++ code
generation that binds the .eo classes.

=Examples=

src/examples/eolian_cxx/eolian_cxx_simple_01.cc: The simplest example,
it just uses some "dummy" generated C++ classes.

src/examples/eolian_cxx/eolian_cxx_inherit_01.cc: Illustrates how
pure C++ classes inherit from .eo generated classes.

src/examples/evas/evas_cxx_rectangle.cc: More realistic example using
the generated bindings Evas Cxx. Still a bit shallow because we don't
have full fledged .eo descriptions yet, but will be improved.

=Important=

The generated code is not supported and not a stable API/ABI. It is
here to gather people interest and get review before we set things in
stone for release 1.11.

@feature

Reviewers: cedric, smohanty, raster, stefan_schmidt

CC: felipealmeida, JackDanielZ, cedric, stefan

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-03 00:56:32 +02:00
Stefan Schmidt 07c3edec4a configure: Only allow wayland + egl with opengl ES
We only support the Wayland EGL engine build with OpenGL ES but not full
OpenGL. Reflect this in our configure to avoid compile errors after a
successful configure run. Fixes T1202
@fix
2014-04-30 16:39:33 +02:00
Cedric Bail bb1d1c4f2a autotools: remove left over from optional Evas 3D support. 2014-04-28 13:52:40 +02:00
Stefan Schmidt aa4418e14a release: v1.10.0 alpha1 2014-04-28 13:00:32 +02:00
Cedric Bail 335e8c0b91 autotools: enable lua old support before testing for it. 2014-04-27 12:02:53 +02:00
Jean-Philippe Andre 72b959239d Evas: Add lua support for evas
Since Lua is already a dependency for Edje, I believe it is safe
to add it as a dependency for Evas as well.

This will be used to replace the (bad) scripting language used for
the Evas filters (text effects).
2014-04-27 17:40:55 +09:00
Cedric Bail b1342d933d evas: our API are always build in, only the header require define to be used. 2014-04-25 16:41:08 +02:00
Taekyun Kim 8fda631730 Evas: 3D: Introducing 3D scene rendering features
Enable 3D features using --enable-evas-3d=yes when configuring.
APIs are exposed through Evas_3D.h.
Currently, evas-3d is being supported only on gl_x11 engine.

Conflicts:

	src/lib/evas/Evas_Eo.h
2014-04-25 16:15:41 +09:00
Stefan Schmidt 164233ffb6 Revert "build: Temporary disable debug log output during coverage"
This reverts commit 02a5a6bfea.

Daniel fixed the underlaying problem in eolian debug statements which should
make this band aid unnecessary.
2014-04-15 15:24:51 +02:00
Daniel Zaoui e4ab76c397 Eolian: add support for cmake
Now with the file :-)
2014-04-14 13:55:26 +03:00
Stefan Schmidt 02a5a6bfea build: Temporary disable debug log output during coverage
Due to the amount of generated debug messages from eolion generation
we end up with 3.8GB log files for elm builds when efl was build with
coverage enabled. Temporary disable this until eolion is fixed and
we can turn it on again.
2014-04-14 12:23:25 +02:00
Tom Hacohen 09b46fa668 Revert "Eolian: add support for cmake"
You forgot to add the file, you broke compilation for everyone.

This reverts commit df6ef6aa78.
2014-04-14 11:04:36 +01:00
Daniel Zaoui df6ef6aa78 Eolian: add support for cmake 2014-04-14 12:42:21 +03:00
Carsten Haitzler c940d00c9f set default help info for multisense to match new default on state 2014-04-11 15:18:21 +09:00
Carsten Haitzler 069940d026 turn multisense on by default since ecore_audio is already 2014-04-10 18:04:09 +09:00
Ryuan Choi 89d6e0b142 configure: Fix the possible build break after 83af91c8b
Added eet into internal dependencies for ecore_evas_connect, ethumb, ethumb_client

I got below errors for ecore_evas_connect, ethumb, ethumb_client

lib/evas/.libs/libevas.so: undefined reference to `eet_data_image_colorspace_get'
lib/evas/.libs/libevas.so: undefined reference to `eet_data_image_read_to_cspace_surface_cipher'
collect2: error: ld returned 1 exit status
2014-04-07 10:21:19 +09:00
Cedric BAIL 2c4ae3fe6f autotools: better fix for rewriting content of src/Makefile 2014-04-02 10:31:34 +09:00
Cedric BAIL 5009030d41 autotools: fix to many argument on shell script during make check
The autogenerated check macro by autotools lead to a huge number of file
being added on the command line of a script, when the only things it does
is to test for the definition of those strings.

Hoping this is going to fix the problem. If that doesn't we will need to write
our own CHECK macro here.
2014-04-01 22:00:54 +09:00
Cedric BAIL b56d7bba60 evas: add benchmark for TGV loader and saver. 2014-04-01 22:00:14 +09:00
Cedric BAIL 961ecab040 evas: add a tgv loader.
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.
2014-04-01 22:00:13 +09:00
Felipe Magno de Almeida ab3eb4b2d3 eet-cxx: add implementation for eet C++.
Usage example:

  struct type
  {
    int foo;
    float bar;
  };

  type t0;

  auto descriptor = make_descriptor("type", &type::ofo, &type::bar);

  eet_data_write(file, descriptor.native_handle(), "type", &t0, false);

  std::unique_ptr<type> p = read_by_ptr(file, "type", descriptor);
  type t = read(file, "type", descriptor);

@feature

Reviewers: cedric, smohanty

Reviewed By: cedric

CC: savio, cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
2014-04-01 22:00:13 +09:00
Stefan Schmidt 3cc0e400cd build: Disallow non-working sdl + opengl ES combination
To build SDL with OpenGL ES we need a SDL version which ships these headers
which only starts with SDL 2.x. So we only allow it for full OpenGL right
now until someone wants to port our code over to SDL 2.x

Fixes T856
@fix
2014-03-26 09:12:23 +01:00
Jean-Philippe Andre 1edf113ec0 configure.ac: Print eolian_gen if specified with --with-bin-eolian-gen 2014-03-21 15:52:10 +09:00
Carsten Haitzler 19b1f1cd27 oops - remove debug echo 2014-03-21 15:49:59 +09:00
Carsten Haitzler f48741d93d fix dbus service file complaint to work again. 2014-03-20 17:21:16 +09:00
Alex-P. Natsios fa2b1b3d30 evas: improve portability for BSD system.
configure: fix prerequisite header issue

Summary:
in some platforms like openBSD <sys/socket.h> must be included before
net/if.h

the canonical way to ensure that with autotools is by providing that
fourth directive.

evas: use MAP_ANON instead of MAP_ANONYMOUS

Stupid unpredictable standards (or not so standard).
MAP_ANON exists and is defined almost anywhere unlike MAP_ANONYMOUS

Let's use that for portability's sake (they are practically identical
anyway)

Reviewers: raster, cedric

Reviewed By: cedric

CC: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
2014-03-15 19:58:08 +09:00
Jérémy Zurcher 995eac166a eolian: generate eo_lexer.c with ragel if available 2014-03-10 18:15:25 +01:00
Chris Michael 2d3cb24e4d ecore-drm: Add dependency on xkbcommon
@feature: Add xkbcommon as a dependency for ecore_drm so we can
process input keys

In order for keyboard input to work for ecore_evas_drm, we will need
to translate keypress events into meaningful key names, so require
xkbcommon to deal with the translation.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-10 12:40:30 +00:00
Gustavo Sverzut Barbieri 6bd0392339 configure alerts: be smarter regarding dbus and cover systemd.
Some people (I'm one of them) will do user-local builds of EFL and
don't want to install services in /usr, or provide links, rather
choosing to install in ~/.local/share/dbus-1. Then figure out this
case and do not show an alert when the setup is ready.

As we mention $XDG_DATA_DIRS in our alert, we should not do the alert
when the user follows its recommendation. This is now checked.

And handle systemd services if they are used.
2014-03-10 00:09:13 -03:00
Gustavo Sverzut Barbieri c52da37d0b link dbus and systemd services, allows systemd activation.
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.
2014-03-10 00:09:12 -03:00
Ryuan Choi c2bdda6f9b Fix build break because of evas_object_line_class_get
Added edje into internal dependencies for ethumb_client.

I got below error.
/usr/elocal/lib/libedje.so.1: undefined reference to `evas_object_line_class_get'
collect2: error: ld returned 1 exit status
make[4]: *** [bin/ethumb_client/ethumbd] Error 1
make[4]: *** Waiting for unfinished jobs....
2014-03-09 09:14:45 +09:00
Chris Michael 83dce935f5 efl: Fix build with drm disabled
@bugfix: Drm is optional, so ecore-evas should not internally depend
on it unless ecore-drm is found.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-06 12:36:53 +00:00
Chris Michael e2357578d3 ecore-drm: Add configure.ac autofoo for ecore-drm
@feature: This adds necessary dependencies for ecore_drm library to
build.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-06 10:57:26 +00:00
Joel Klinghed 0f1883df9a efl: Use actual destination dirs in warning about using non-standard prefix
Summary:
Instead of relying on ${prefix}/share to be the default for ${datadir} or
${dbusservicedir} use the actual paths where the files will be placed.

Somewhat tricky because of autoconfs desire to keep prefix changeable but
continuously evaluating the variables until they don't change work.

Reviewers: raster, englebass

Reviewed By: raster

CC: cedric, stefan_schmidt

Differential Revision: https://phab.enlightenment.org/D581
2014-03-06 19:28:20 +09:00
Daniel Zaoui 49822ec28d Eolian: remove Ecore_File dependency 2014-03-03 18:14:14 +02:00
Tom Hacohen fabea6399c Eolian: Added an helper to call eolian_gen from within the project. 2014-03-03 14:09:54 +02:00
Tom Hacohen 5a4f68d472 Eolian: Added eolian to the build system. 2014-03-03 14:09:53 +02:00
Chris Michael 5267daa9ae evas-drm: Rename drm hardware acceleration option
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:11:42 +00:00
Chris Michael 0ebdaec9cd evas-drm: Fix configure.ac typo for drm hw accel argument
@bugfix: Fix typo in configure.ac file for drm hardware acceleration

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:09:14 +00:00
Chris Michael 437654c6b5 evas-drm: Add option to enable drm hardware acceleration
@feature: Start on drm hardware acceleration

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:08:57 +00:00
Snacker (Vladimir) 8e17290f19 @feature - Apply NEON intrisics improvement to rotation 2014-02-28 07:04:52 +09:00
Stefan Schmidt 3f1c866b50 configure: Bump version to 1.9.99 to indicate development cycle
1.9 is released and the master branch is now in development mode
again. Make sure the version indicates that.
2014-02-26 09:25:44 +01:00
Joel Klinghed 19e118cd8f ecore_avahi: Use result of pkg-config avahi-client when building
Summary: Fix avahi-client detection

Reviewers: cedric

Reviewed By: cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D580
2014-02-25 18:39:34 -03:00
Felipe Magno de Almeida f279225a63 eina: add a C++ bindings to Eina @feature.
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>
2014-02-25 18:05:01 -03:00
Stefan Schmidt 3ac51e3fee Release version 1.9.0 2014-02-24 17:20:02 +01:00
Sebastian Dransfeld 2b02809268 fix previous commit 768df672
Need /share added to path as well.
2014-02-24 12:50:40 +01:00
Sebastian Dransfeld 768df67275 configure: add optional solution to alert
XDG_DATA_DIRS are searched by dbus. So if prefix is added before dbus is
started, it will find the services.
2014-02-24 12:47:09 +01:00
Stefan Schmidt ad1d45ef10 release: Bump version to 1.9.0-beta2
Second and most likely last beta release before the 1.9 final. Give
it a good testing over the weekend.
2014-02-21 15:03:55 +01:00
Cedric Bail 868202349a autotools: add supported for deprecated option. 2014-02-21 22:13:00 +09:00
Cedric BAIL 12a0cc8342 autotools: make specifying binary look the same as Elementary. 2014-02-21 17:55:47 +09:00
Cedric BAIL 5ea8c8cc4d autotools: detect cross compilation. 2014-02-20 20:23:24 +09:00
Carsten Haitzler 227f1f985f configure - add warning for non /usr prefixes! 2014-02-19 22:45:30 +09:00
Stefan Schmidt 4f2f71b3da release: Bump version to 1.9.0-beta1
Prepare tarballs for a first beta release.
2014-02-18 15:31:09 +01:00
Jean-Philippe Andre 18a7a95de3 Emotion: Add cmake definition files
Shameless copy & paste + sed from Evas stuff
2014-02-17 11:29:03 +09:00
Jean-Philippe Andre a9b82a7928 Doc: Add makefile for text filter previews
Build utility tool based on the local hidden .libs
2014-02-13 17:36:23 +09:00
Carsten Haitzler 967307ab35 distribution cleanup - remove os/arch from module dirs and simplify version
now that we don't load modules from user dirs anymore - just system,
we can nuke os/arch from module dir and just keep version. since abi
for a module should be stable for a 1.X release series, we dont need
micro, just 1.9 (or 1.10 etc.). this makes thnigs a bit cleaner and
simpler for emotion_generic_players
2014-02-12 15:56:56 +09:00
Carsten Haitzler 47dc6718d3 finish off long list of complaints for bad configure options 2014-02-12 13:07:30 +09:00
Carsten Haitzler 365b6d24d6 configure - add big complaint section if you use off configure options
also force whoever/whatever is compiling via another really long and
obscure option or otherwise fail configure if they do not
2014-02-12 10:27:34 +09:00
Mike Blumenkrantz aa07b08457 1.9.0 alpha1 2014-02-11 16:22:11 -05:00
Carsten Haitzler 88fde9ede2 Revert "configure - don't add -mfpu-neon on arm - this breaks building for armv6/4..."
This reverts commit c94252a14c.
2014-02-11 16:54:13 +09:00
Carsten Haitzler c94252a14c configure - don't add -mfpu-neon on arm - this breaks building for armv6/4... 2014-02-08 14:26:50 +09:00
Cedric BAIL b7b6b5f956 eina: restore magic debug option for ABI compatibility purpose.
We can't remove that option as it break ABI for people who did turn
it off in 1.7.

- cherry-pick me -
2014-02-05 11:10:29 +09:00
Mike Blumenkrantz 01a4b8bacb checking for libmount newer than 2.19.0 means newer, not older 2014-01-24 23:26:24 -05:00
Mike Blumenkrantz 48c2a3c890 allow --without-tests in addition to --with-tests=no 2014-01-24 23:26:24 -05:00
Ryuan Choi a9c0a6c30b configure: Add ecore-imf to ETHUMB_INTERNAL_LIBS
It is to fix possible build break of ethumb

I got below message.
lib/edje/.libs/libedje.so: undefined reference to `ecore_imf_context_retrieve_selection_callback_set'
collect2: error: ld returned 1 exit status
make[4]: *** [bin/ethumb/ethumb] Error 1
2014-01-24 20:17:06 +09:00
Mike Blumenkrantz 052fc85cd3 okay, bring back xrandr < 1.4 compat for ecore_x_randr_output_name_get
apparently I read the commit order wrong and this fix went in for 1.4.0, not 1.3.2, which means anyone who has 1.3.2 has been having lots of fun crashes for the past 24 hours
2014-01-21 16:07:38 -05:00
Mike Blumenkrantz 1feed7a1ae ecore_x_randr_output_name_get fixme removed
this was a fixme which was likely written sometime before July 2010 when the bug was fixed, just prior to the 1.3.1 release. I think it's probably okay to require that release since it's been 3+ years.
2014-01-20 22:16:18 -05:00
Gustavo Sverzut Barbieri f0aac1b490 configure: include required NEON build flags.
It is required to use "-mfpu=neon" to build NEON.

Patch-by: Albin Tonnerre <lutin@debian.org>
2014-01-20 12:15:56 -02:00
Daniel Kolesa 6db1691595 edje: use luajit by default, if you want lua use --enable-lua-old 2014-01-17 19:07:59 +00:00
Mike Blumenkrantz 131e0e1983 ecore-x now supports XPRESENT
see http://cgit.freedesktop.org/xorg/proto/presentproto/plain/presentproto.txt
2014-01-13 10:19:11 -05:00
Joel Klinghed b262d79e05 configure: correctly detect C99-capabilities for ecore_con_resolver
ac_cv_prog_cc_c99 being empty just means there is no need to add
any flags for the compiler to be C99-capable.
"no" means the compiler isn't C99-capable.

The check is actually unnecessary as EFL demands a C99-capable
compiler these days but if that every changes ...

Reviewers: zmike

CC: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-09 10:05:07 +09:00
Carsten Haitzler f28f756584 win build - check for pause func and use only if its there 2014-01-08 22:40:59 +09:00
Carsten Haitzler e8c13118eb fix mingw build for setuid fix/checks 2014-01-08 22:06:41 +09:00
Carsten Haitzler 77aa223e95 efl - build - add warning about gnutls to configure and dropping privs
stable release - cherry-pick me!
2014-01-07 16:28:46 +09:00
discomfitor d4b471a3a8 configure xcb warning typos 2013-12-29 19:43:39 -05:00
Carsten Haitzler 641b914c0a configure - add warning when enabling xcb 2013-12-30 09:29:40 +09:00
Carsten Haitzler a7f417e68d Revert "Quick and dirty fallback to gst 0.10 if 1.0 is not found"
This reverts commit 5676eb4ef9.
2013-12-24 23:45:30 +09:00
Iván Briano 5676eb4ef9 Quick and dirty fallback to gst 0.10 if 1.0 is not found 2013-12-23 14:00:14 -02:00
Sebastian Dröge 9c752106f7 emotion: initial port of emotion to GStreamer 1.0
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>
2013-12-23 10:59:42 +09:00
Mike Blumenkrantz 3c81c6ded3 fix non-avahi build
damn borkers!!!!
2013-12-20 10:24:13 -05:00
Cedric BAIL a6cc00369f autotools: Evil is actually needed on Windows add the correct line for Ecore_Avahi. 2013-12-19 11:52:37 +09:00
Cedric BAIL 0a1cc79a91 Ecore_Avahi: initial commit.
TODO:
- Add tests, how ?
- Integrate with Eo, needed ?
2013-12-17 19:37:05 +09:00
Cedric BAIL 87be907144 pkgbuild: follow aur efl-git version naming. 2013-12-12 11:05:13 +09:00
Cedric BAIL b1dde593cc autotools: detect systemd to warn user they are required to use --enable-systemd to turn it on. 2013-12-12 11:05:13 +09:00
Cedric BAIL 85772eb113 autotools: only turn on auto testing on linux. 2013-12-11 13:46:33 +09:00
Cedric BAIL 94b4e53b7f autotools: make systemd dependency detection automatic. 2013-12-11 11:39:09 +09:00
Cedric BAIL 770dc9a805 autotools: let's try this variant for detecting c++ compiler availability. 2013-12-11 10:40:13 +09:00
Cedric Bail 5f2687b1f4 autotools: try to figure out what our buildbot get here. 2013-12-10 11:30:43 +09:00
Cedric Bail 6f50fc9d63 autotools: work around buggy macro to force C++ compiler detection. 2013-12-09 21:36:41 +09:00
Stefan Schmidt 09609e9d04 configure: Switch back to dev profile in master branch.
This also enables v_rev again. Thanks to Doug for pointing it out.
2013-12-06 16:05:45 +01:00
Stefan Schmidt 749d5d7b50 configure: Bump version to 1.8.99 to indicate development cycle.
1.8.0 is out and we are in the dev cycle for 1.9 so indicate this with
the version 1.8.99 for builds from git master.
2013-12-05 11:14:03 +01:00
Carsten Haitzler cd60144d87 v1.8.0 2013-12-01 19:04:31 +09:00
Carsten Haitzler 16e5af8e4c release work - switch to release profile
this now maxes out max log level to 3 (same as dev otherwise)
2013-12-01 13:50:54 +09:00
Carsten Haitzler 95ffa9ca1e v1.8.0-beta2 2013-11-29 19:39:02 +09:00
Carsten Haitzler eb48d55f3a 1.8.0-beta1 2013-11-25 14:51:25 +09:00
Ryuan Choi f42f42a9a6 Add several missing Config.cmake.in
- EldbusConfig.cmake.in
- EthumbClientConfig.cmake.in
- EthumbConfig.cmake.in
2013-11-20 00:23:11 +09:00
Tom Hacohen 89ec93305e Tests: fix the print summary for tests with dev profile.
When the dev profile is enabled, tests are also enabled if
libcheck is found. Fix the print in the summary to reflect
that.
2013-11-19 13:12:58 +00:00
Tom Hacohen bf4a7e8c34 Revert "configure does not print tests option as a default"
This reverts commit d93c4b2307.

Auto is not an option, and does not mean it'll be automatically
detected.
What auto means is that unless explicitly enabled/disabled it'll check
according to the build profile and will enable it automatically if using
the dev profile.
2013-11-19 13:06:24 +00:00
Carsten Haitzler a4ec6ae8f1 1.8.0-alpha2 2013-11-19 17:21:58 +09:00
Ryuan Choi 8c0d7d8e5e Add EezeConfig.cmake.in
Other components already install XXXConfig.cmake and XXConfigVersion.cmake,
but Eeze was missing.
2013-11-16 15:18:55 +09:00
Cedric BAIL ecaca1d365 eina: detect page size in a portable way. 2013-11-10 09:25:16 +01:00
Chris Michael 5ec3ba041d Require wayland libraries of at least 1.3.0
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-04 13:52:27 +00:00
Jerome Pinot 2743382fa6 Add "--with-id" configure option that can be used to specify a
string identifying the build (vendor, maintainer, etc). It defines
EFL_BUILD_ID with default to "none". It can be used by applications
or for bug reports by including Efl_Config.h

Differential Revision: https://phab.enlightenment.org/D288
2013-11-04 22:12:12 +09:00
Ryuan Choi d93c4b2307 configure does not print tests option as a default
Reviewers: seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D62
2013-11-04 20:58:10 +09:00
Carsten Haitzler b07c0a76ce alpha1 release autofoo/build tree work to pass distcheck and actually work 2013-11-04 18:33:35 +09:00
Jérémy Zurcher 489e7d565a configure.ac: fix --with-api err msg 2013-10-31 09:25:06 +01:00
Cedric Bail f5d6d09d19 evil: let's try another combinaison of define. 2013-10-31 15:39:12 +09:00
Cedric Bail 88912c06a8 evil: add missing define specific to Windows build.
It is an optional flags that just shutdown useless warning at build time.
2013-10-31 14:39:21 +09:00
Albin Tonnerre 6b130d8b18 ecore_x/xlib/ecore_x_vsync.c uses dlopen and dlsym, but configure.ac
only checks for this for the XCB variant. This results in linker errors
when using strict linker flags (-Wl,-z,defs)
2013-10-29 23:37:03 +01:00
Jean-Philippe Andre b143727389 evas: Add configure option to disable cserve
Some people might want to disable cserve2 at build time to
generate smaller packages.
2013-10-14 10:55:47 +09:00
Rafael Antognolli c4f1e67686 ecore/wayland: Do not generate subsurface source files.
Add them to the tree, so they don't need to be generated again on each
build. Also remove the autofoo code used for generating them.
2013-10-11 14:26:34 -03:00
Cedric Bail 1b07350a46 eina: add Eina_Spinlock API. 2013-10-11 11:08:17 +09:00
Cedric Bail a230728162 eina: move header detection to the appropriate section. 2013-10-11 11:07:47 +09:00
U. Artie Eoff d201747cc8 ecore/wayland: detect wayland-scanner
We need the wayland-scanner program to auto-generate the
subsurface protocol source files from subsurface.xml

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-10-10 13:24:17 -03:00
Carsten Haitzler 82e1fef6ed configure - wayland macro required for any kind of autogen.sh... not good. 2013-10-10 13:24:05 -03:00
Rafael Antognolli f26f2da5ea adding wayland subsurfaces protocol file. 2013-10-10 13:21:40 -03:00
Carsten Haitzler 2c1c6b9335 ecore-con: make curl support entirely runtime loaded via eina_module
this makes curl support a pure runtime-only thing. libcurl is loaded by
eina_module (dlopen/dlsym) when curl is actually first needed (when a
url connection/object is created). this means that ecore-con has no
link or compile dependencies on curl, only runtime, AND this saves
memory (due to curl inits using apparently a chunk of private pages).
so this saves memory and moves the dependency to runtime (though still
consider libcurl a dependency of efl - but like a binary executed,
it's at runtime).
2013-10-10 22:31:18 +09:00
discomfitor 06a5ba2118 Revert "adding wayland subsurfaces protocol file."
This reverts commit ad27efcb39.
2013-10-05 16:22:15 +01:00
Carsten Haitzler 7b512356b3 configure - wayland macro required for any kind of autogen.sh... not good. 2013-10-05 18:31:39 +09:00
Rafael Antognolli ad27efcb39 adding wayland subsurfaces protocol file. 2013-10-04 18:23:57 -03:00
Cedric Bail fe25608edd eina: handle more compiler strangeness for bswap.
So current order is :
- __builtin_bswap*() for compiler that provide it
- _byteswap_*() for MSVC
- bswap_*() for older Linux and some BSD
- own C code when everything else fall appart.

The reason for this order is that the builtin will always generate
the best assembly possible. On my system bswap_*() are not changing
in all version to the best solution as they are almost equivalent to
the C macro.
2013-10-04 12:49:02 +09:00
Cedric Bail ff3d2a68d5 eina: add infrastructure to handle more CPU and compiler builtin information. 2013-10-02 20:54:50 +09:00
Vincent Torri 3b8b2ac66c evas: add JPEG 2000 loader.
This add finally support for JPEG 2000, but be aware that libopenjpeg
is very badly managed. There is currently only version 1.5.x that does
provide the right files, is usable by a third party and portable. You
can seriously forget any other version.
2013-10-01 16:38:44 +09:00
Ryuan Choi d460f2954a configure: Add evas to ETHUMB_CLIENT_INTERNAL_LIBS
It is to fix possible build break of ethumb_client after b3749450
2013-09-26 13:04:37 +09:00
Cedric Bail 0082c1b4eb ecore: add infrastructure to get info from malloc_info to. 2013-08-27 16:52:00 +09:00