Commit Graph

52 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri f8fde3d560 efl: fix out-of-tree build of examples.
edje and embryo include files are in source dir, not build.

codegen example must have dependency to build in correct order :-/



SVN revision: 82605
2013-01-11 03:57:29 +00:00
Gustavo Sverzut Barbieri dfb84c1657 efl: merge emotion.
this one was quite a huge work, but hopefully it's correct.

NOTES:
 * removed vlc generic module, it should go into a separate package.
 * gstreamer is enabled by default (see --disable-gstreamer)
 * xine is disabled by default (see --enable-gstreamer)
 * generic is always built statically if supported
 * gstreamer and xine can't be configured as static (just lacks command line options, build system supports it)
 * v4l2 is enabled by default on linux if eeze is built (see --disable-v4l2)
 * emotion_test moved to src/tests/emotion and depends on EFL_ENABLE_TESTS (--with-tests), but is still installed if enabled.

TODO (need your help!):
 * fix warnings with gstreamer and xine engine
 * call engine shutdown functions if building as static
 * remove direct usage of PACKAGE_*_DIR and use eina_prefix
 * add eina_prefix checkme file as evas and others
 * add support for $EFL_RUN_IN_TREE
 * create separate package for emotion_generic_modules
 * check docs hierarchy (doxygen is segv'in here)



SVN revision: 82501
2013-01-10 03:43:32 +00:00
Daniel Juyung Seo 91630603a5 ecore ecore_fd_handler_example.c: Added gcc build instruction for an example.
SVN revision: 82356
2013-01-07 17:04:18 +00:00
Gustavo Sverzut Barbieri 7499e9dee0 efl: distcheck will run tests and compile all examples.
Tests are disabled by default, but they should be mandatory for
distcheck. So should be examples, we should have them to at least
compile.

As there is no way to force "make distcheck" to run "make examples",
I've created --enable-always-build-examples to make examples regular
noinst_PROGRAMS, being always compiled. distcheck will use that
option.



SVN revision: 82276
2013-01-05 14:41:14 +00:00
Gustavo Sverzut Barbieri d9858fc223 efl/edje: codegen shouldn't use BUILT_SOURCES.
if use BUILT_SOURCES it will always generate those files, and their
requirement codegen.edj, even if examples were not to be built.

make will automatically build the files if there are rules to do so,
we just have to clean them.



SVN revision: 82275
2013-01-05 14:38:32 +00:00
Gustavo Sverzut Barbieri 4a35861791 efl/ecore: hopefully fix all examples.
SVN revision: 82243
2013-01-04 23:51:53 +00:00
Gustavo Sverzut Barbieri 2b29626d8d efl: fix make dist.
Carefully compared 'svn export' and 'make dist' results and couple of
files were missing.

Changes:

 * Makefile.am: removed all .pc from EXTRA_DIST, we shouldn't
   distribute them here as they will contain ./configure data such as
   install location.
 * src/Makefile.am: moved all if-endif to files, otherwise EXTRA_DIST
   won't work properly. We must EXTRA_DIST outside of the if-endif
   block.
 * static_libs/liblinebreak: removed couple of unused files.




SVN revision: 82241
2013-01-04 20:55:12 +00:00
Gustavo Sverzut Barbieri 2b672efbdd efl/edje: fix examples to not build EDJ during regular install
do not use standard files_DATA and filesdir as they would always be
executed during compilation.



SVN revision: 82223
2013-01-04 18:25:43 +00:00
Gustavo Sverzut Barbieri f063c393eb efl: simplify examples handling.
SVN revision: 82222
2013-01-04 18:24:41 +00:00
Gustavo Sverzut Barbieri 733425c62c efl: make libraries aware of EFL_RUN_IN_TREE.
this variable tells that the build is being done in tree and we should
not look at install locations.



SVN revision: 82217
2013-01-04 17:19:43 +00:00
José Roberto de Souza 748b09d7c0 edbus: Remove unused parameter warning of edbus examples
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82213
2013-01-04 16:44:06 +00:00
Cedric BAIL bd9b55a3ab efl: draah, edje example don't follow the rest of efl example. so shut it down.
SVN revision: 82168
2013-01-04 10:36:54 +00:00
Cedric BAIL c0e3868bdc efl: the problem is edje not ephysics.
SVN revision: 82166
2013-01-04 10:24:00 +00:00
Cedric BAIL 2b52e2c129 efl: disable build of ephysics example as we can't build them on a clean machine.
NOTE: this is just the bootstrap issue we have been warning about.


SVN revision: 82165
2013-01-04 10:14:55 +00:00
Gustavo Sverzut Barbieri 9ea2ce1041 efl: merge edje.
this is still in progress, mostly the multisense stuff is pending.

it seems that when we merge ecore_audio in edje the libremix and
similar are gone, at least from Edje, and will be in ecore_audio
itself (or pulseaudio).

Changes:
 * __UNUSED__ to EINA_UNUSED
 * binaries (epp, embryo_cc, edje_cc) now consider EFL_RUN_IN_TREE and
   will assume the binaries are still not installed, running from
   build tree location (needs more testing, maybe doesn't work with
   srcdir != builddir, still doesn't solve cross compile builds)



SVN revision: 82139
2013-01-04 02:08:14 +00:00
Gustavo Sverzut Barbieri e1d76fbdab efl/ephysics: quiet warning
SVN revision: 82133
2013-01-04 00:03:56 +00:00
Gustavo Sverzut Barbieri 9e0788cc2e efl: merge ephysics
changes:
 * __UNUSED__ -> EINA_UNUSED
 * Fixed doc hierarchy



SVN revision: 82126
2013-01-03 22:10:40 +00:00
Rafael Antognolli 54bffeb2fd ecore/examples: Add PACKAGE_EXAMPLES_DIR to ecore examples too.
SVN revision: 82064
2013-01-03 12:04:32 +00:00
Gustavo Sverzut Barbieri 014cd8065d efl/eio: use eina_file_copy()
SVN revision: 81944
2012-12-31 23:45:24 +00:00
Gustavo Sverzut Barbieri 6ae6f925a4 efl: add eina_file_copy()
it's useful to copy file from one place to another and this will be
used in eio' s implementation.

NOTE: did not use mmap here as mmap faults may be cumbersome to handle
(Eina_File itself does that, but in a nasty way) and the
implementation would be severely different as there is no Eina_File
from FD, and there is no way to inject custom memory/fd into the
Eina_File's fault handling. The performance would not be that
different anyways and the splice() is already in there for systems
with good performance (read: Linux).



SVN revision: 81942
2012-12-31 23:17:18 +00:00
Gustavo Sverzut Barbieri 678727aae4 efl: missing api for xattr.
SVN revision: 81941
2012-12-31 21:05:58 +00:00
Gustavo Sverzut Barbieri 4e6ce9277f efl/evas: add ecore-evas dependent examples.
nice feature of single tree efl is that evas examples can use ecore-evas :-)



SVN revision: 81919
2012-12-31 01:40:50 +00:00
Gustavo Sverzut Barbieri df1b3d30c4 efl: refactor CFLAGS, LIBS, LIBADD and LDADD usage.
- remove EFL_LIBS and EFL_CFLAGS, use per-lib values that inherit
   from EFL (general)

 - add NAME_LDFLAGS and EFL_LDFLAGS for linker flags.

 - LDADD (binaries) now use NAME_LDFLAGS instead of NAME_LIBS, as they
   link to libname.la and that will pull in the libtool dependencies



SVN revision: 81915
2012-12-31 00:46:14 +00:00
Gustavo Sverzut Barbieri 331488d1ce efl: merge edbus (v2).
SVN revision: 81825
2012-12-28 17:53:25 +00:00
Gustavo Sverzut Barbieri 6800b178dc efl/src/examples/eio: fixed typo.
SVN revision: 81814
2012-12-28 15:59:12 +00:00
Yakov Goldberg fa11a3507d evas: fixing example
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>

SVN revision: 81359
2012-12-19 13:45:02 +00:00
Yakov Goldberg 3032a8554c evas: Eo-styled Evas example added.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>

SVN revision: 81328
2012-12-19 09:13:08 +00:00
Daniel Willmann 1c68e42f25 ecore_audio: Add an example for libsndfile output: ogg encoder
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 81003
2012-12-14 23:38:35 +00:00
Daniel Willmann 55f6091e3d ecore_audio: Example for user generated sounds
Uses the custom function support, which can probably be improved

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 81002
2012-12-14 23:38:31 +00:00
Daniel Willmann 2143671420 ecore_audio: Add an example - a simple CLI music player
Give it sound files (ogg, wav, not mp3) as parameter or

"tone:freq=<f>,duration=<dur_in_s>" to play a lovely sine wave

* '<' and '>' seek forward and backward
* '+' and '-' change the volume
* Space toggles pause
* Shows information for the song (remaining, %)
* (Un)loop a song with 'l'
* 'n' - Next song
* 'm' - Next song simultaneous to current
* Volume can be set from 0 - 150%

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 81001
2012-12-14 23:38:28 +00:00
Vincent Torri 1a2daa057d add eio example and fix ecore_fb linking
SVN revision: 80273
2012-12-05 18:10:43 +00:00
Daniel Willmann 5f81e0226d Make ecore examples compile again
Including ECORE_LIBS in LDADD is not enough, we have to include the
relevant libs from efl as well (eina, evas, ...)

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 80260
2012-12-05 15:28:10 +00:00
Vincent Torri 316ddf1b3f Ecore: fix subdirs (aka : to test, do not compile while being in the subdir, but at the top level dir...)
SVN revision: 80129
2012-12-04 07:23:43 +00:00
Vincent Torri 46d4358209 Ecore: add examples
SVN revision: 80097
2012-12-03 19:36:16 +00:00
Daniel Willmann c0840226b0 Remove binary character in Makefile.am
This caused automake to generate a faulty Makefile, which in turn caused
compilation to fail.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 79345
2012-11-15 13:28:14 +00:00
Vincent Torri 80910393d6 merge: add evas tests and examples
SVN revision: 79300
2012-11-14 20:12:53 +00:00
Vincent Torri 77d90bd45e merge: pass directly to the preprocessor the Windows macro instead of using autotools
SVN revision: 78350
2012-10-23 05:43:57 +00:00
Gustavo Sverzut Barbieri 2703b747a3 efl: eet and eo are now mandatory.
I've reordered the build to be: eina -> eo -> eet as it make more sense.



SVN revision: 77766
2012-10-10 17:27:11 +00:00
Vincent Torri 7fe3d35994 merge: __UNUSED__ --> EINA_UNUSED and some fixes in eo.
SVN revision: 77542
2012-10-05 20:09:47 +00:00
Cedric BAIL 1000f350e3 efl: backport Igor's eina patch.
SVN revision: 77415
2012-10-04 09:31:46 +00:00
Vincent Torri 0951e8a9d1 Eo IS optional. Sorry, i will fight to have ALL libs being optional
SVN revision: 77126
2012-09-27 04:46:30 +00:00
Carsten Haitzler a9230c1de3 make eo not an optional build - this WILL be no-option as we will be
based on it.



SVN revision: 77124
2012-09-27 04:39:28 +00:00
Carsten Haitzler 156f4a783f and more include dir fixes.
SVN revision: 77122
2012-09-27 04:14:38 +00:00
Carsten Haitzler b257931a81 make make examples work with dso linking unhappiness.
SVN revision: 77111
2012-09-27 03:22:34 +00:00
Vincent Torri 3b5a3448b7 merge: add eo
SVN revision: 77072
2012-09-26 06:56:52 +00:00
Vincent Torri 8ea0aea278 merge: clean generated examples
SVN revision: 77050
2012-09-25 08:23:06 +00:00
Vincent Torri 4b81a0b3de merge: minor fix
SVN revision: 77045
2012-09-25 08:01:31 +00:00
Vincent Torri 851975dbcc merge : remove useless CONDITIONALs and make eet build optional; eina is always built
SVN revision: 77026
2012-09-23 19:56:44 +00:00
Vincent Torri a05d6a0419 merge: use $(MAKE) $(AM_MAKEFLAGS) and not just make. Fix benchmark-e17 rule
SVN revision: 77008
2012-09-22 06:44:32 +00:00
Vincent Torri aeadf86ba6 merge: "fix" distcheck
I can't be sure that distcheck is fixed as the check of eet is failing.
I've disable the run of the eina test for now as it is *very* long. I'll
re-enable it once eet check is running flawlessly



SVN revision: 76772
2012-09-17 17:17:55 +00:00